LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2009, 12:10 PM   #1
hocheetiong
Member
 
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Rep: Reputation: 15
Smile 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).
 
Old 05-04-2009, 12:20 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference Between Soft Link & Hard Link rajaniyer123 Solaris / OpenSolaris 16 09-30-2012 04:42 AM
Soft link folder / file browsing in APACHE sanjee Linux - Server 15 04-03-2009 01:29 AM
User with read-only permission for whole filesystem? stug Linux - General 1 04-12-2006 05:45 PM
Changing a soft link to actual file? jdiemer Linux - Newbie 4 04-05-2006 12:45 PM
copy both soft link and its linked file okeyla Programming 3 02-14-2005 12:30 AM


All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration