Re: [PATCH v2] vfs: new O_NODE open flag

From: Jamie Lokier
Date: Thu Oct 08 2009 - 09:28:43 EST


Miklos Szeredi wrote:
> There's been a fair amount of interest in the concept, but less actual
> review of the details.
>
> Changes from the last posting:
>
> - make fchmod() fail on symlinks

fchmodat(2) says:

AT_SYMLINK_NOFOLLOW
If pathname is a symbolic link, do not dereference it:
instead operate on the link itself. This flag is not
currently implemented.

If the flag were implemented, it would make sense for fchmod() on a
symlink to succeed, wouldn't it?

-- Jamie
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/