[lug-ld] Berechtigungen bei neuen Dateien

Eric Lehmann e.lehmann88 at gmail.com
Do Jan 31 19:55:48 CET 2013


OMG!!! Das schlüsselwort "bestimmtes verzeichniss" habe ich glatt
überlesen.... Sorry

Liegt das Verzeichniss auf einer eigenen Partition wäre dmask und fmask als
mount Option in der fstab noch eine Möglichkeit.
Am 31.01.2013 19:27 schrieb "Christian Boltz" <lug-ld at cboltz.de>:

> Hallo Michael, hallo zusammen,
>
> Am Donnerstag, 31. Januar 2013 schrieb Michael Diederich:
> > ich möchte das neue Dateien in einem bestimmten Verzeichnis immer die
> > Berechtigungen 666 haben, mindestens aber 664. (Was davon ist mir
> > egal..)
>
> Das sollte mit einer default ACL gehen ;-)
>
>     setfacl -d -m g::rwx /tmp/test/
>
> Mehr Infox und Erklärung des obigen stehen in   man setfacl   ;-)
> und in ausführlicher Form auf
>
> http://doc.opensuse.org/documentation/html/openSUSE/opensuse-security/cha.security.acls.html
>
>
> Gruß
>
> Christian Boltz
> --
> By the way, it's a sign of how good the distribution is that we're
> arguing about the name and not dealing with problems in the essence of
> the thing. Even the overloaded servers are what an old boss of mine
> would have called a "success problem." [Randall Schulz in opensuse]
>
> _______________________________________________
> lug-ld mailing list
> lug-ld at lists.lug-ld.de
> http://lists.lug-ld.de/mailman/listinfo/lug-ld
>
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://lists.lug-ld.de/mailman/private/lug-ld/attachments/20130131/d2dc3131/attachment.htm