megarainman
June 5th, 2009, 10:58 AM
I created an Ubuntu fileserver who's attached to a Windows 2003 domain controller. Everything is working fine with ACL's except the following thing keeps my brains busy...
When a certain user (domainuser1) create a folder in a certain samba folder then the owner of the folder become for example domainuser1 and the group becomes "domain users".
The result of this is that I can't access the folder anymore with my local account on the fileserver. I have a cronjob who start an rsync process with a local Ubuntu user to backup everything. But off course... the folders created by Samba users are permission denied.
Now I do a chown with the local user to all the folders I want to backup using rsync.... but that's not the way it should be done. Can anyone help me how I can manage that I have allways the right to enter any folder even if I am not the creator of it?
Thanx in advance!
When a certain user (domainuser1) create a folder in a certain samba folder then the owner of the folder become for example domainuser1 and the group becomes "domain users".
The result of this is that I can't access the folder anymore with my local account on the fileserver. I have a cronjob who start an rsync process with a local Ubuntu user to backup everything. But off course... the folders created by Samba users are permission denied.
Now I do a chown with the local user to all the folders I want to backup using rsync.... but that's not the way it should be done. Can anyone help me how I can manage that I have allways the right to enter any folder even if I am not the creator of it?
Thanx in advance!