symbolic link filemodes unchangeable.

Conor P. Cahill cpcahil at virtech.uucp
Thu Nov 16 11:43:52 AEST 1989


In article <24818 at sequent.UUCP>, paulr at sequent.UUCP (Paul Reger) writes:
> Why can't you change the filemodes of a symbolic link ? :

Because the modes of the link are never used.  Restricting the write 
access on the link file does not restrict the write access on the 
file that it is linked to.  That is why there is no lopen(), or lchmod()
system call (would be similar to lstat()).



-- 
+-----------------------------------------------------------------------+
| Conor P. Cahill     uunet!virtech!cpcahil      	703-430-9247	!
| Virtual Technologies Inc.,    P. O. Box 876,   Sterling, VA 22170     |
+-----------------------------------------------------------------------+



More information about the Comp.unix.questions mailing list