Re: /proc filesystem allows bypassing directory permissions on Linux

2009-10-29 Thread Vincent Zweije
On Tue, Oct 27, 2009 at 08:09:57PM +0300, Dan Yefimov wrote: || On 27.10.2009 14:04, Vincent Zweije wrote: || > After chmodding the directory to 0700, *first* || >check the link count, *then* chmod the file to 0666: || > || > User1 creates file with perm

Re: /proc filesystem allows bypassing directory permissions on Linux

2009-10-27 Thread Vincent Zweije
ory), but not for writing to the file. In fact, not even read access on the directory is necessary. Traverse (x) access on the directory is enough to get to the file (inode, actually); after that, the file permissions determine what you can do to the file's contents. Ciao.