symbolic link filemodes unchangeable.

Perry Hutchison perry at ccssrv.UUCP
Wed Nov 15 10:20:24 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 ? :

Another candidate for the Frequently Asked Questions list.

There is no need to set the permissions of a symbolic link, because they are
never used.

Hard links have existed for a long time, but symbolic links are a more recent
development.  It has always (at least since 6th edition) been the case that
the permissions belong to the file, and are not affected by which name (link)
is used to access it.  Symbolic links continue to behave in this same way.

That a symbolic link even has its own set of permissions is largely an
artifact of the implementation.  Perhaps someday ls will be revised to omit
them, since they are meaningless (and hence to display them is confusing).

-- 
  The "From" address in the header does not work.
  This does:   ... tektronix!sequent!ccssrv!perry



More information about the Comp.unix.questions mailing list