POSIX file permission (understanding) problem?

2010-10-25 Thread Harald Schmalzbauer
Hello, am I complete stupid or is there a serious problem with 8.1-RELEASE: I can write files which I have no write access to, if I have write access to the directory of the file. How to reproduce (tested with UFS2): mkdir /tmp/testdir touch /tmp/testdir/testfile chown -R nobody:intern /tmp/test

Re: POSIX file permission (understanding) problem?

2010-10-25 Thread Harald Schmalzbauer
schrieb Harald Schmalzbauer am 25.10.2010 23:20 (localtime): > Hello, > > am I complete stupid or is there a serious problem with 8.1-RELEASE: > I can write files which I have no write access to, if I have write > access to the directory of the file. ... > This means file permission mode is irrele

Re: POSIX file permission (understanding) problem?

2010-10-25 Thread Chuck Swiger
On Oct 25, 2010, at 2:20 PM, Harald Schmalzbauer wrote: > chmod g+w testdir/ (as superuser, exit again) > ls -ld testdir > drwxrwx--x 2 nobody intern 512 25 Okt 23:03 testdir > ls -l testdir > total 0 > -rw-r- 1 nobody intern 0 25 Okt 23:03 testfile > > -> Now editing with vi (as u

Re: POSIX file permission (understanding) problem?

2010-10-29 Thread jhell
On 10/25/2010 18:28, Chuck Swiger wrote: > chmod g+w testdir/ (as superuser, exit again) >> > > ls -ld testdir >> > > drwxrwx--x 2 nobody intern 512 25 Okt 23:03 testdir >> ls -l testdir >> total 0 >> -rw-r- 1 nobody intern 0 25 Okt 23:03 testfile > >> -> Now editing with vi (as

Re: POSIX file permission (understanding) problem?

2010-10-29 Thread jhell
On 10/29/2010 23:27, jhell wrote: > On 10/25/2010 18:28, Chuck Swiger wrote: >> chmod g+w testdir/ (as superuser, exit again) >>> >> >> ls -ld testdir >>> >> >> drwxrwx--x 2 nobody intern 512 25 Okt 23:03 testdir >>> ls -l testdir >>> total 0 >>> -rw-r- 1 nobody intern 0 25 Okt 23:03 test