* Greg Freemyer
On Fri, Aug 22, 2014 at 3:59 PM, Anton Aylward
wrote: On 08/22/2014 01:28 PM, Greg Freemyer wrote:
So the only place I have yet found that even allows the "directory" flag is linux, but the linux kernel blocks it from working because it doesn't provide read or write access to raw directories. If I ever saw a feature that was broken by design this seems to be it.
Indeed. The argument processing for this http://www.opensource.apple.com/source/file_cmds/file_cmds-220.7/dd/args.c apples out of Berkeley, doesn't seem to mention 'directory"
That looks to be a totally different source tree than openSUSE is using.
[snip]
It looks like the only use of "flag=directory,no_atime,no_follow" is to set the 3 flags:
O_DIRECTORY O_NOATIME O_NOFOLLOW
which are in turn passed to fd_reopen(..)
From open(2):
O_DIRECTORY If pathname is not a directory, cause the open to fail. This flag is Linux-specific, and was added in kernel version 2.1.126, to avoid denial-of-service problems if opendir(3) is called on a FIFO or tape device. --Phil -- Philip Amadeo Saeli openSUSE, CentOS, RHEL psaeli@zorodyne.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org