[Samba] Inherit permissions question (Please help)

David Wilson dave at dcdata.co.za
Tue Jan 25 12:03:23 GMT 2005

Hi Thomas,

Thank you for your reply and the information.
Will the "s"-Bit cause all new files that are written by a "Domain Admin" to 
the user1/ folder to be owned by "user1" ?

My problem is that "Domain Admins" can write to users' folders in the 
[userprofile] share but then the respective user who owns the folder can't 
access the new data in it.
The "inherit permisions" would solve my problem except that it does not 
allow user/group ownership to be passed down onto files.
Any ideas ? :)

Thank you for your help so far.

Kindest regards
David Wilson
D c D a t a
Tel +27 33 342 7003
Fax +27 33 345 4155
Cell +27 82 4147413
support at dcdata.co.za
Powered by Linux, driven by passion !

"Computers are not intelligent. They only think they are."

----- Original Message ----- 
From: "Thomas Reiss" <thomas at mypoint.franken.de>
To: <samba at lists.samba.org>; "Gerald (Jerry) Carter" <jerry at samba.org>
Sent: Tuesday, January 25, 2005 9:56 AM
Subject: Re: [Samba] Inherit permissions question (Please help)

> Hallo David Wilson,
>> If the administrator(root) had to write a file (test.txt) to the user1
>> folder and I had "inherit permissions" turned on, then file would be
>> written as:
>> rwx------ 16 root     Domain Admins     0 2005-01-21  07:07     test.txt
>> Unfortunately I need "user1" to own the file, just like it's parent
>> directory, which is as follows:
>> drwx----- 16 user1     users     4096 2005-01-21       user1/
> I thing it makes Life easyer when you change the Group Owner to "Domain
> Admins" and set the "s"-Bit and the Permissions to 770 on the userx/ 
> Directorys.
> So every "Domain Admin" can write files on the directorys.
> Try this (or do this on a higher Directory Level):
> drwxrws-- 16 user1     Domain Admins     4096 2005-01-21       user1/
> Hope it helps.
> Greetings
> Thomas
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba 

More information about the samba mailing list