Hallo zusammen,
ich habe eine Frage zu Dateiberechtigung:
Ich habe 2 User und 1 Gruppe
User1 und User2 beide sind in der Gruppe Testgruppe Mitglied.
Wenn ich nun im Vezeichnis eine Datei anlege wir sie vom User1 mit user1:testgruppe erstellt. Wenn ich dieser nun die Berechtigung 770 zuweise kann der User2 diese nicht mehr ändern, obwohl er in der Testgruppe ja auch enthalten ist.
Wo ist hier mein Denkfehler?
Wer kann mir bitte helfen?
Vielen Dank.
Tobias
Dateiberechtigung 770
Re: Dateiberechtigung 770
Die Rechte des Verzeichnisses müssen ebenfalls passen.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Dateiberechtigung 770
Hallo zusammen,
leider habe ich weiterhin kleinere Probleme mit samba
Ich habe ein Share erstellt:
Die Berechtigung von home/gemeinsam sieht so aus:
Wenn ich nun ein neues Verzeichnis erstelle, wird es auch mit 777 erstellt.
Wenn ich aber eine Datei erstelle, dann hat Sie nur 755.
Was mache ich hier falsch?
Gruß und Danke
Tobias
leider habe ich weiterhin kleinere Probleme mit samba
Ich habe ein Share erstellt:
Code: Select all
[gemeinsam]
force directory mode = 0777
force create mode = 0777
writeable = yes
wide links = no
create mode = 0777
valid users = saenger,xxx
path = /home/gemeinsam
directory mode = 0777
inherit permissions = yes
inherit owner = yes
Code: Select all
# file: gemeinsam/
# owner: shareuser
# group: www-data
user::rwx
group::rwx
other::rwx
Wenn ich aber eine Datei erstelle, dann hat Sie nur 755.
Was mache ich hier falsch?
Gruß und Danke
Tobias
Re: Dateiberechtigung 770
Das dürfte an der umask des Dateierstellers liegen.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Dateiberechtigung 770
Danke, ich werde es ausprobieren.