[ILUG] SAMBA query - Setting up a shared directory under SAMBA
Anthony Staines
anthony.staines at ucd.ie
Fri Nov 8 15:21:06 GMT 2002
Vincent Cunniffe proposed -
> Add :
>
> [dept]
> force user = deptshared
> public = no
> writable = yes
> printable = no
>
> Create the user 'deptshared', and
>
> chown -R deptshared.deptshared /home/shared
>
> then restart samba, and any of the named users who connect to that share
> will have all of their read and write requests mapped out of their own
> user ID's into the common 'deptshared' one. All current and future file
> ownership will be in the common deptshared ID.
Works like a charm!
Thank you very much.
Anthony Staines
--
Anthony Staines, Lecturer in Epidemiology, Department of Public Health,
UCD, Earlsfort Terrace, Dublin2, Ireland. http://phm.ucd.ie/
E-mail :- Anthony.Staines at ucd.ie Web :- http://astaines.ucd.ie/
Work :- + 353 1 716 7345 Fax :- +353 1 716 7407
Home :- + 353 1 849 1089 Mobile :- +353 1 86 606 9713
More information about the ILUG
mailing list