[Kolab-devel] [PATCH] better modes
Christoph Wickert
wickert at kolabsys.com
Thu Jun 17 13:40:10 CEST 2010
On Thursday 17 June 2010 13:03:25 Thomas Arendsen Hein wrote:
> In other words: If mode 444 affects the usage of chown on your
> system, this is something special to your system, so you should tell
> us what it is.
On Debian Lenny:
chris at kolab-lenny:~$ touch something
chris at kolab-lenny:~$ chmod 444 something
chris at kolab-lenny:~$ chown kolab something
chown: Ändern des Eigentümers von „something“: Die Operation ist nicht erlaubt
chris at kolab-lenny:~$ ls -l something
-r--r--r-- 1 chris chris 0 17. Jun 15:23 something
Same on Fedora:
[chris at laptop ~]$ touch something
[chris at laptop ~]$ chmod 444 something
[chris at laptop ~]$ chown apache something
chown: Ändern des Eigentümers von „something“: Die Operation ist nicht erlaubt
[chris at laptop ~]$ ls -l something
-r--r--r--. 1 chris chris 0 17. Jun 13:13 something
Only root has CAP_CHOWN, not normal users.
Regards,
Christoph
--
Christoph Wickert
Senior Engineer
Kolab Systems AG
Zürich, Switzerland
e: wickert at kolabsys.com
t: +49 251 871 369 77
w: http://kolabsys.com
pgp: 85DACC63 Christoph Wickert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/devel/attachments/20100617/3e6ba2e1/attachment.sig>
More information about the devel
mailing list