[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mode of symbolic link



Detlef Vollmann wrote:
> 
> Hi,
> if I create a symbolic link on an XFS filesystem, it gets its
> mode from umask, instead of 777.  I think this is wrong (on
> all other filesystems I tested its always 777).
> The problem is specially annoying as you can't change the
> mode of the link later, always the mode of the target gets changed :-(

While this may differ from other filesystems,

[sandeen@Liberator sandeen]$ man symlink | grep permissions
       The permissions of a symbolic  link  are  irrelevant;

-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@sgi.com   SGI, Inc.