• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Samba Zugriffsrechte unter Suse 9.2

Mystique

Member
Wieso kann jeder auf meinen Freigaben schreiben und löschen, wenn ich die Parameter "writelist" gesetz habe? Habe Samba mit dem KDE-Tool konfiguriert und dann zusätzliche Einstellungen manuell vorgenommen. Samba ignoriert das aber.
 
OP
Mystique

Mystique

Member
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2005-02-20

[global]
workgroup = Matrix
server string = Samba %v
log level = 0
security = user
encrypt passwords = yes
wide links = no
follow symlinks = no
disable netbios = yes
write raw = yes
read raw = yes
getwd cache = no
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
ldap suffix = dc=example,dc=com


[amule]
comment = Download aMule
path = /archiv/amule/
writeable = yes
write list = root,mystique

[azureus]
comment = Download Azureus
path = /archiv/azureus/
writeable = yes
write list = root,mystique

[bilder]
comment = Bilder und Fotos von Digicam und Internet
path = /archiv/bilder/
writeable = yes
invalid users = gast

[dokumente]
comment = Eigene Dokumente und Schriften
path = /archiv/dokumente/
writeable = yes
invalid users = gast

[favoriten]
comment = Internet Explorer Favoriten
path = /archiv/favoriten/
writeable = yes
invalid users = gast

[netzwerk]
comment = Dateiaustausch im Netzwerk
path = /archiv/netzwerk/
writeable = yes

[programme]
comment = Installation Programme
path = /archiv/programme/
writeable = yes
write list = root,mystique

[spiele]
comment = Installation Spiele
path = /archiv/spiele/
writeable = yes
write list = root,mystique

[treiber]
comment = Installation Treiber
path = /archiv/treiber/
writeable = yes
write list = root,mystique

[videos]
comment = Videos und Clips
path = /archiv/videos/
writeable = yes
invalid users = gast
 
OP
Mystique

Mystique

Member
Mit dieser Config hat es unter Suse 9.1 super funktioniert. Komischerweise habe die Ordnersymbole jetzt auch einen Netzstecker im Bild. Mir kommt das so vor als ob KDE da noch was auf einer anderen "Ebene" frei gibt
 

nobbiew

Hacker
Ich glaube kaum, dass es unter SuSE 9.1 das gemacht hat, was du erwartet hast. Denn du hast ja writeable = yes gesetzt das ist gleibedeutend mit read only = no. Also schreib stattdessen read only = yes und alles geht wie du es willst
 
OP
Mystique

Mystique

Member
total 1
drwxr-xr-x 14 root root 344 Feb 21 08:45 .
drwxr-xr-x 22 root root 512 Feb 21 13:53 ..
drwxrwxrwx 2 root root 72 Feb 21 13:06 amule
drwxrwxrwx 2 root root 48 Feb 21 08:41 azureus
drwxrwxrwx 2 root root 48 Feb 21 08:45 bilder
drwxrwxrwx 2 root root 48 Feb 21 08:41 dokumente
drwxrwxrwx 2 root root 48 Feb 21 08:41 favoriten
drwxrwxrwx 2 root root 48 Feb 21 08:42 netzwerk
drwxrwxrwx 2 root root 48 Feb 21 08:42 programme
drwxrwxrwx 2 root root 48 Feb 21 08:42 spiele
drwxrwxrwx 2 root root 48 Feb 21 08:42 treiber
drwxrwxrwx 2 root root 48 Feb 21 08:43 videos
 
OP
Mystique

Mystique

Member
@ nobbiew

hat gefunzt, jetzt ist es so wie es sein soll. Besten Dank dann kann ich meine Daten wieder rüber kopieren.
 
Oben