I hope someone can please help me out here. I have been struggling with this for over a year.
When a new folder of file is made through a samba share the new file/folder is not getting the permissions of the parent folder.
What I want is all folders/files created to get the permissions 775.
See an example of what just happend here:
Code:
# ls -al
total 10
drwxrwsr-x 8 thisclicks staff 304 2009-06-25 14:40 .
drwxrwsr-x 55 thisclicks staff 1960 2009-05-29 13:48 ..
drwxr-xr-x 2 chad staff 48 2009-06-25 14:40 asdsad
-rwxrw-r-- 1 chad staff 6148 2008-11-20 12:26 .DS_Store
drwxrws--x 2 chad clients 48 2008-09-12 10:28 ftp
drwxrwsr-x 5 thisclicks staff 128 2008-08-01 00:31 LAT000 (Description)
drwxrwxr-x 5 chad staff 128 2008-08-01 00:31 LAT100 (test)
drwxrwxr-x 3 chad staff 72 2009-06-25 14:32 LAT102 (test2)
drwxrwsr-x 3 thisclicks staff 80 2008-08-01 00:31 SiteDefs
Using samba, the folder I made called "asdsad" does not have write permissions for the group. IT SHOULD. I want it to sooo bad.
here is my global settings in my smb.conf
Code:
#======================= Global Settings =======================
[global]
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
obey pam restrictions = yes
write list = @staff
force group = +staff
passwd program = /usr/bin/passwd %u
dns proxy = no
netbios name = chernobyl
invalid users = root
hide files = /._*/.DS_Store/._.*/DesktopFolderDB/Network Trash Folder/resource.frk/TheFindByContentFolder/TheVolumeSettingsFolder/
block size = 4096
os level = 20
security = user
usershare allow guests = yes
max log size = 1000
log file = /var/log/samba/log.%m
socket options = TCP_NODELAY
map to guest = bad user
hide dot files = yes
encrypt passwords = true
passdb backend = tdbsam
server string = %h server (Samba, Ubuntu)
unix password sync = yes
valid users = @staff
syslog = 0
panic action = /usr/share/samba/panic-action %d
pam password change = yes
force create mode = 0775
force directory mode = 0775
Please help.
Bookmarks