Ownership of new Files in SAMBA
Below is my smb.conf file made with Webmin on RH 8.0. I am having an issue where files that are created on the SAMBA server have different group ownerships. Some have user.group ownership of "ghight.ghight" and others have "ghight.smbadmin". I am a member of both groups. Why does it seems to randomly pick group ownership for my files? All of these are created from a Win98 workstation so me changing groups isn't an issue.
Any thoughts would be helpful and appreciated. PS-What you see is what you get. Nothing has been deleted or changed in the conf file. ____________________________________________ [global] log file = /var/log/samba/%m.log dns proxy = no smb passwd file = /etc/samba/smbpasswd server string = Job Archives obey pam restrictions = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 workgroup = 3IENG hosts allow = 192.168.1. 127. encrypt passwords = yes security = user max log size = 0 [Archives] preserve case = yes write list = ghight,nzimmer,troedel,bzimmer,@smbadmin path = /home/archives comment = Archive of completed job files create mode = 775 directory mode = 775 [Submit] comment = Modified files should be submitted here writeable = yes create mode = 775 path = /home/submit directory mode = 775 |
check your folder permissions (owner) (ls -al)
Are you using ACL's |
No ACL's, just the regular file mode permissions and SAMBA write lists.
The folders are the same way, sometimes they randomly have different groups. On the smb.conf you can see that "nzimmer" is also in the write list. The same thing happens to him too. I can't seem to find a pattern to any of this. |
Quote:
Code:
force group = %G HTH Jamie... |
Quote:
Code:
force group = +smbadmin ps-Thanks for the post. I honestly didn't get that far into the man page. |
Give it a go and see what happens. I sounds like it should work...
cheers Jamie... |
It worked! That's a great tip. I can't believe I've never seem that before.
Thanks again.:D |
All times are GMT -5. The time now is 01:26 AM. |