Beerdrinker
25.09.13, 11:07
Hallo,
ich habe ein kleines Problem mit Berechtigungen... trotzdem ich create mask = 0777 und directory mask = 0777 gesetzt habe, werden teilweise (komischerweise nicht alle) Dateien oder Ordner in dem Share Daten mit den Rechten 0700 angelegt.
Kernel-Version: 3.5.0-17-generic
Samba-Version: 2:3.6.6-3ubuntu5
Meine smb.conf:
#======================= Global Settings =======================
[global]
workgroup = WORKGROUP_NAME
server string = %h server (Samba, Ubuntu)
dns proxy = no
#### Debugging/Accounting ####
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
; encrypt passwords = yes
; passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
########## Printing ##########
load printers = yes
printing = cups
printcap name = cups
############ Misc ############
usershare allow guests = yes
username map = /etc/samba/smbusers
security = user
#======================= Share Definitions =======================
[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
; guest ok = no
; read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
; browseable = yes
; read only = yes
; guest ok = no
; write list = root, @lpadmin
[Verschiedene Freigaben]
...
[Daten]
path = /mnt/Daten
writeable = yes
browseable = yes
create mask = 0777
directory mask = 0777
Hat jemand eine Idee?
Danke...
ich habe ein kleines Problem mit Berechtigungen... trotzdem ich create mask = 0777 und directory mask = 0777 gesetzt habe, werden teilweise (komischerweise nicht alle) Dateien oder Ordner in dem Share Daten mit den Rechten 0700 angelegt.
Kernel-Version: 3.5.0-17-generic
Samba-Version: 2:3.6.6-3ubuntu5
Meine smb.conf:
#======================= Global Settings =======================
[global]
workgroup = WORKGROUP_NAME
server string = %h server (Samba, Ubuntu)
dns proxy = no
#### Debugging/Accounting ####
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
; encrypt passwords = yes
; passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
########## Printing ##########
load printers = yes
printing = cups
printcap name = cups
############ Misc ############
usershare allow guests = yes
username map = /etc/samba/smbusers
security = user
#======================= Share Definitions =======================
[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
; guest ok = no
; read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
; browseable = yes
; read only = yes
; guest ok = no
; write list = root, @lpadmin
[Verschiedene Freigaben]
...
[Daten]
path = /mnt/Daten
writeable = yes
browseable = yes
create mask = 0777
directory mask = 0777
Hat jemand eine Idee?
Danke...