[Samba] Possible to make samba ignore file permissions?

Troy.A Johnson troy.johnson at health.state.mn.us
Wed Oct 22 20:19:59 GMT 2003


Adam,

On the share you could make all files 
mode '644' and owned by user 'special'. 
Then use: 
   force user = special
   force create mode = 644
   force directory mode = 755
and maybe some other 'force' type 
parameters on that share. As long as
special isn't in the writelist, things might 
work out for you. You could try 
something similar with 'force group'.

Good luck,

Troy

P.S. - 
man smb.conf
search for "force user" or "force group"

>>> "Adam Kennedy" <akennedy at niesc.k12.in.us> 10/22/03 03:05PM >>>
I'm stuck between a rock and a hard place.

Is there a way to setup samba to pretty much ignore file permissions, but
allow the write list of users to modify files in shares? 

The problem I have, is users need permission through samba to modify web
pages, but they need to NOT have permission when they FTP in or through
shell.

--
Northern Indiana ESC
Adam Kennedy - akennedy at niesc.k12.in.us 
Linux Specialist / Network Administrator
Phone: (574) 254-0111 x113
Toll Free: 800-326-5642
Fax: (574) 254-0148

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list