File permission problems

Simon Haddon simon at
Tue Apr 16 19:50:03 EST 2002

I use the following in my smb.conf in the global section.
create mask = 0770
I also have a share called documents which I have a group defined.
	comment = Documents
	path = /path/to/files
	valid users = @group_name
	writeable = yes
	directory mask = 0770
	guest ok = yes
I don't know if it is the best config but it works for my company.
Simon Haddon, E-mail: simon at
Sibern Solutions Pty Ltd, 38 Beasley St, Pearce, ACT 2607
Tel: 02, 62864500, Fax: 02, 62864526

Original Message dated 16/04/02, 4:31:03 PM
Author: "B. Keogh & Sons Manufacturing Pty Ltd" <augers at>
Re: File permission problems:

I have setup a small network of WIN9x machines to access a share on a 
Samba server. All is well and everyone can see all files. Problem is with 
file permissions. When user 'brendan' on one WIN9x machine creates a text 
document (for example), permisions in Linux file manager say that it 
belongs to user 'brendan' and group 'brendanh'. When another user 
attempts to open the document they get a 'read only' warning although I 
want all of these files to be read and altered (if required) by any 
internal user. I think this has something to do with 'map archive',   
'create mask',   'force create mask',   'directory mask' and 'force 
directory mask'.
I had a go at adding all users to a common group and using the '@ group' 
setting in smb.conf, but alal it did not work.
Basically I need the permissions for all data in the share to be (in DOS 
talk) not read only, not hidden, not system (not sure about archive). All 
users who can see the data in the share needs to be able to open, close, 
alter, delete etc.. the files. 
Yours Kindly, 
Brendan Henderson
Design, IT & Sales Executive 
Phone: +61 3 5446 8377
Facsimile: +61 3 5446 1178
Mobile: +61 0428 509 204
E-mail: brendan.henderson at
Web Site: 
The Information contained in this E-Mail is confidential and intended 
solely for the use of the addressee(s)
If you receive this E-Mail in error, any use, distribution or copying of 
this E-Mail is NOT permitted
Please notify or forward unwanted E-Mail to the contact details above.
The Information contained in or attached to this E-Mail is not 
necessarily the view of 
B. KEOGH & SONS MANUFACTURING as this email address is not the official 
email address 

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the linux mailing list