LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   File user permission allow read only on soft-link files. (https://www.linuxquestions.org/questions/linux-newbie-8/file-user-permission-allow-read-only-on-soft-link-files-723585/)

hocheetiong 05-04-2009 11:10 AM

File user permission allow read only on soft-link files.
 
Hi I have a file name log.txt this file once syslog system write on this file then this file permission will be rw-------(0600), i have create a soft link from this file to my webpage folder, purpose i want all user can view this file. I need to manually change this file permission chmod 644 log.txt then user can view this file contents, any solution to make it allow to view by user forever(i no need to manually change permission on this file).

paulsm4 05-04-2009 11:20 AM

Hi -

Short answer:
Just make sure the permissions are correct for the "real" files; don't worry about the symbolic link.

Longer answer:

http://unix.derkeiler.com/Mailing-Li...4-10/0124.html
http://www.linuxquestions.org/questi...ission-102012/

'Hope that helps .. pSM


All times are GMT -5. The time now is 08:33 PM.