Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-04-2009, 11:10 AM   #1
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, 11:20 AM   #2
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:

'Hope that helps .. pSM


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 03:42 AM
Soft link folder / file browsing in APACHE sanjee Linux - Server 15 04-03-2009 12:29 AM
User with read-only permission for whole filesystem? stug Linux - General 1 04-12-2006 04:45 PM
Changing a soft link to actual file? jdiemer Linux - Newbie 4 04-05-2006 11:45 AM
copy both soft link and its linked file okeyla Programming 3 02-13-2005 11:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:30 PM.

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