lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 8 Mar 2014 10:29:57 -0500
From:	Theodore Ts'o <tytso@....edu>
To:	Phillip Susi <psusi@...ntu.com>
Cc:	ext4 development <linux-ext4@...r.kernel.org>
Subject: Re: chattr: operation not supported ( on symlinks )

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ