permissions on symbolic links

Jay Sekora js at phoenix.Princeton.EDU
Tue Oct 31 09:35:43 AEST 1989


I would like to set permissions on a symbolic link separately from the
permissions on the linked-to file.  I.e., I would like /foo to be writable
if accessed as /foo , but I would like a symbolic link /bar/foo to it, which
is read-only.  Is this possible?  If so, how?  ls -l gives something like
lrwxr-xr-x /bar/foo ...
, but chmod follows the link and changes the permissions on the linked-to
file.  man chmod and man ln haven't been helpful.

Please send email if you have a solution.  (Note the expiration date; I'm
trying to avoid getting eight zillion responses.)
-- 
_____________________________________________________________________
Jay Sekora		             |       js at phoenix.princeton.edu
Information Centers Consultant       |                 js at pucc.bitnet
Princeton University	             |         sekora-jay at cs.yale.edu



More information about the Comp.unix.questions mailing list