New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

Your preferred Interactive shell?









( 1341 votes ~ 14 comments )

 

Weblog entry #3 for Azerthoth

ln -s permissions
Posted by Azerthoth on Fri 27 Oct 2006 at 14:14
Tags: none.
This may be something simple stupid, however I cant seem to find any documentation on it.

With a sym link to a file or directory regardless of the permissions of that file or directory you end up with full permissions (777) on the sym link. Why is that or what am I missing that would mean I'm not seeing what I think I'm seeing?

ls -l for the symlink returns
lrwxrwxrwx

ls -l on the original returns
-rw-rw-r--

 

Comments on this Entry

Posted by Anonymous (84.163.xx.xx) on Fri 27 Oct 2006 at 14:27
You might want to read the manpage symlink(2).

[ Parent | Reply to this comment ]

Posted by Azerthoth (162.58.xx.xx) on Fri 27 Oct 2006 at 14:43
[ Send Message | View Weblogs ]
Thanks much, that put me where I needed to be.

Converting M$ addicts one CD at a time.

[ Parent | Reply to this comment ]

 

 

Flattr