Re: flock: Allow lock directory

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

 



On Wed, Nov 26, 2008 at 11:06:40AM +0300, Alexey Gladkov wrote:
> Christoph Hellwig wrote:
> > Do you have any good reason for that?
> 
> This is useful when you want to protect the directory from creating
> new files. This is useful when you just don't know the contents of the
> directory.

Well, for that you'd need mandatory locks, which as I said don't
actually work as none of the namespace operations calls into the file
locking code.

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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux