I am trying to set a Samba share up so that when I create a new file on the windows machine the file is given full (777) permissions on the Unix host. Any help would be greatly appreciated. _________________________________ Neil Swallow IT Manager (Production) _________________________________ Watt Gilchrist Ltd Ring Road, West Park Leeds, LS16 6RA Tel: 0113 288 3223 Fax: 0113 275 1690 http://www.wattgilchrist.co.uk <http://www.wattgilchrist.co.uk> _________________________________
Hi Neil, You need to put these lines in the shares you wish to have 777 on: create mask = 0777 directory mask = 0777 That'll allow all new files and directories created in the share to have full perms. Glenn On 02:28 PM 3/22/2002 +0000, Neil Swallow wrote:>I am trying to set a Samba share up so that when I create a new file on the >windows machine the file is given full (777) permissions on the Unix host. > >Any help would be greatly appreciated.--- Glenn E. Sieb, System Administrator Lumeta Corp. mailto:ges@lumeta.com +1 732 357-3514 (V) +1 732 564-0731 (Fax)
see the create mask section of the smb.conf man page Neil Swallow wrote:>I am trying to set a Samba share up so that when I create a new file on the >windows machine the file is given full (777) permissions on the Unix host. > >Any help would be greatly appreciated. >_________________________________ > >Neil Swallow >IT Manager (Production) >_________________________________ > >Watt Gilchrist Ltd >Ring Road, West Park >Leeds, LS16 6RA >Tel: 0113 288 3223 >Fax: 0113 275 1690 >http://www.wattgilchrist.co.uk <http://www.wattgilchrist.co.uk> >_________________________________ >-------------- next part -------------- HTML attachment scrubbed and removed
That's great thanks for your help. _________________________________ Neil Swallow IT Manager (Production) _________________________________ Watt Gilchrist Ltd Ring Road, West Park Leeds, LS16 6RA Tel: 0113 288 3223 Fax: 0113 275 1690 http://www.wattgilchrist.co.uk _________________________________ -----Original Message----- From: Glenn Sieb [mailto:ges@lumeta.com] Sent: 22 March 2002 15:39 To: Neil Swallow Cc: Samba Mailing List Subject: Re: [Samba] Permissions in Windows Hi Neil, You need to put these lines in the shares you wish to have 777 on: create mask = 0777 directory mask = 0777 That'll allow all new files and directories created in the share to have full perms. Glenn On 02:28 PM 3/22/2002 +0000, Neil Swallow wrote:>I am trying to set a Samba share up so that when I create a new file on the >windows machine the file is given full (777) permissions on the Unix host. > >Any help would be greatly appreciated.--- Glenn E. Sieb, System Administrator Lumeta Corp. mailto:ges@lumeta.com +1 732 357-3514 (V) +1 732 564-0731 (Fax)
in the [sharename] section add: create mask = 0777 Regards, Alan B. Moote Systems Administrator MARK IV Industries tel: 905.624.7908 fax: 905.625.6197 Neil Swallow <nswallow@wattgilch To: "'samba@samba.org'" <samba@samba.org> rist.co.uk> cc: Sent by: Subject: [Samba] Permissions in Windows samba-admin@lists.s amba.org 03/22/02 09:28 AM I am trying to set a Samba share up so that when I create a new file on the windows machine the file is given full (777) permissions on the Unix host. Any help would be greatly appreciated. _________________________________ Neil Swallow IT Manager (Production) _________________________________ Watt Gilchrist Ltd Ring Road, West Park Leeds, LS16 6RA Tel: 0113 288 3223 Fax: 0113 275 1690 http://www.wattgilchrist.co.uk <http://www.wattgilchrist.co.uk> _________________________________ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Use:- force create mode = 777 ( or 666 of not executable from unix) force directory mode = 777 create mode = 777 ( or 666 of not executable from unix) directory mode = 777> -----Original Message----- > From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On > Behalf Of Neil Swallow > Sent: 22 March 2002 14:29 > To: 'samba@samba.org' > Subject: [Samba] Permissions in Windows > > > I am trying to set a Samba share up so that when I create a new > file on the > windows machine the file is given full (777) permissions on the Unix host. > > Any help would be greatly appreciated. > _________________________________ > > Neil Swallow > IT Manager (Production) > _________________________________ > > Watt Gilchrist Ltd > Ring Road, West Park > Leeds, LS16 6RA > Tel: 0113 288 3223 > Fax: 0113 275 1690 > http://www.wattgilchrist.co.uk <http://www.wattgilchrist.co.uk> > _________________________________ > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > >