Julian Pilfold-Bagwell
2006-Nov-22 10:55 UTC
[Samba] Permissions on Domain Admin created files
Hi All, I have a PDC that serves 800 users all of whom have their own home directory. From time to time, members of the Domain Admins group scan pages for the users and save them into the users home directories but the permissions for the file are created with the admin as owner. Is there any way of forcing ownership of a file or directory to the owner of the home folder rather than the admin who created the file. Cheers, Jools
If you are using Samba version 3.0.20 or later, you can set the "inherit owner = yes" on the share. James Dinkel -----Original Message----- From: Julian Pilfold-Bagwell I have a PDC that serves 800 users all of whom have their own home directory. From time to time, members of the Domain Admins group scan pages for the users and save them into the users home directories but the permissions for the file are created with the admin as owner. Is there any way of forcing ownership of a file or directory to the owner of the home folder rather than the admin who created the file.
the ownership of the file should be the user connected to the service. maybe you have some options like force user. kindly check also the permission of your home folders, only the user should have permission in his home folder unless you have a different configuration. "inherit owner" is useful but i think its not good for homes. warren On 11/22/06, Julian Pilfold-Bagwell <jpb@bordengrammar.kent.sch.uk> wrote:> > Hi All, > > I have a PDC that serves 800 users all of whom have their own home > directory. From time to time, members of the Domain Admins group scan > pages for the users and save them into the users home directories but > the permissions for the file are created with the admin as owner. > > Is there any way of forcing ownership of a file or directory to the > owner of the home folder rather than the admin who created the file. > > Cheers, > > Jools > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >
Alejandro Rodriguez Pineda
2006-Nov-23 16:13 UTC
[Samba] Permissions on Domain Admin created files
That is correcto, there is a parameter that forces a connection to the folder with certain user regardless of the credentials given: force user = myfolder user this goes on the share folder section of the smb.conf>From: "Warren Beldad" <advisory22@gmail.com> >To: "Julian Pilfold-Bagwell" <jpb@bordengrammar.kent.sch.uk> >CC: Samba <samba@lists.samba.org> >Subject: Re: [Samba] Permissions on Domain Admin created files >Date: Thu, 23 Nov 2006 12:44:16 +0800 > >the ownership of the file should be the user connected to the service. >maybe >you have some options like force user. kindly check also the permission of >your home folders, only the user should have permission in his home folder >unless you have a different configuration. "inherit owner" is useful but i >think its not good for homes. > >warren > >On 11/22/06, Julian Pilfold-Bagwell <jpb@bordengrammar.kent.sch.uk> wrote: >> >>Hi All, >> >>I have a PDC that serves 800 users all of whom have their own home >>directory. From time to time, members of the Domain Admins group scan >>pages for the users and save them into the users home directories but >>the permissions for the file are created with the admin as owner. >> >>Is there any way of forcing ownership of a file or directory to the >>owner of the home folder rather than the admin who created the file. >> >>Cheers, >> >>Jools >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: https://lists.samba.org/mailman/listinfo/samba >> >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba_________________________________________________________________ ?Est?s pensando en cambiar de coche? Todas los modelos de serie y extras en MSN Motor. http://motor.msn.es/researchcentre/