Date: Mon, 25 Oct 2010 23:37:59 +0200 From: Harald Schmalzbauer <h.schmalzbauer@omnilan.de> To: freebsd-stable@freebsd.org Subject: Re: POSIX file permission (understanding) problem? Message-ID: <4CC5F8B7.5030706@omnilan.de> In-Reply-To: <4CC5F489.50403@omnilan.de> References: <4CC5F489.50403@omnilan.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 irrelevant if the user has write > access to the directory of the file. I can hardly believe that this is > intentional. Why does a write lead to owbership changes? > How should I give users write access to directories but prohibit > deliting particular files? Do I have to use uunlnk flag? > Sorry for that basic question, but I must have been missing something in > the last 10 years... Sorry for the noise, digging through lots of not-deep-enough information I finally found: http://content.hccfl.edu/pollock/aunix1/filepermissions.htm Now I can remember that I already was upset about this, one decade ago, and there was a reason not to use the POSIX permission model at all for so long. In that particular case I'll have to use the uchg flag. Sorry again for the noise! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkzF+LcACgkQLDqVQ9VXb8joMQCfUmAMzZiAqFbAvIwIiIrZFVy/ eZEAmQFNOS9QEqmjNJ47Jq9d/wn3qPlZ =RFgP -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CC5F8B7.5030706>
