Unix administration - samba - keeping permissions and ownership

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > November 2006 > samba - keeping permissions and ownership





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author samba - keeping permissions and ownership
Troy Piggins

2006-11-22, 7:27 am

I have a working samba server that has a project template
directory tree that includes subdirectories. Some of those
subdirectories have different permissions on them. eg I want
only members of group 'admin' to be able to read/write to one of
them.

If the template directory, with all its subdirectories, is copied
using a windows machine, the permissions are all changed to the
username and primary group of the user who copied it. The
'admin' only read/write permissions on the relevant directory are
gone.

The relevant section from /etc/samba/smb.conf is:

[Templates]
path = /office/templates
read only = No
create mask = 0700
directory mask = 0700

Is there a way to achieve what I want? - maintaining the
ownership/permissions?

--
Troy Piggins ,-O (o- O
O ) //\ O
`-O V_/_ OOO
RLU#415538
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com