Re: chattr: operation not supported ( on symlinks )

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

 



On Fri, Mar 07, 2014 at 03:16:24PM -0500, Phillip Susi wrote:
> It seems that symlinks return -ENOTSUP for lsattr, causing chattr -R
> to spew errors.  Why don't symlinks support attributes, and if not,
> shouldn't chattr know this and suppress operating on symlinks instead
> of spewing errors?

The VFS layer doesn't pass ioctl's down to the file system layer for
symlinks.  Thinking about this, arguably the right answer is to allow
chattr to function on symlinks, since it cloud be useful to make
symlinks immutable.

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux