[Samba] rpoblem: after renaming a directory permissions are changed

Heinz Hölzl heinz.hoelzl at gvcc.net
Wed May 2 07:05:53 MDT 2012


i have this problem only if the owner of the directory renames the 
directory.
if someone else renames the directory, everything works fine

Am 14.02.2012 09:22, schrieb Heinz Hölzl:
> hi
>
> i have a directory with permissions 750
> wenn i rename a directory, samba changes the permissions to 770.
>
> can everybody confirm this? what is wrong?
>
>
> Regards,
> Heinz
>
>
>
> Version 3.5.11
> smb.conf:
> [global]
>     server string = %h server (Samba, Ubuntu)
>     map to guest = Bad User
>     obey pam restrictions = Yes
>     pam password change = Yes
>     passwd program = /usr/bin/passwd %u
>     passwd chat = *Enter\snew\s*\spassword:* %n\n 
> *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
>     unix password sync = Yes
>     syslog = 0
>     log file = /var/log/samba/log.%m
>     max log size = 1000
>     dns proxy = No
>     usershare allow guests = Yes
>     panic action = /usr/share/samba/panic-action %d
>
> [sys]
>     path = /samba
>     read only = No
>     directory mask = 0770
>     inherit acls = Yes
>



More information about the samba mailing list