[Samba] User Rights for shared files

intel Man intel_man_intel at hotmail.com
Wed Feb 1 14:11:02 GMT 2006


Use in smb.conf:

[produccion]
	path = /usr/fs/produccion
	valid users = @general
	read only = No
	create mask = 0777
	force create mode = 0777
	directory mask = 0777
	force directory mode = 0777


Main is:
	create mask = 0777
	force create mode = 0777
	directory mask = 0777
	force directory mode = 0777


Cheers.
Luis Rivera A.
Lima - Peru




>From: RNuno <glist at moonlight.pt>
>Reply-To: glist at moonlight.pt
>To: samba at lists.samba.org
>Subject: Re: [Samba] User Rights for shared files
>Date: Wed, 01 Feb 2006 03:35:56 +0000
>
>On 01-02-2006 3:02 Muthukumaran Saravanan wrote:
> > Dear Members,
> >
> > Urgently iam in need of help!.
> >
> > I had configured new Redhat Enterprise 3 ES File Server. I have created
> > the users and i have configured the samba server and done all the basic
> > things. Iam able to do things.
> >
> > I have 4 groups each group i have more than 10 users each group has as
> > shared folder there is no problem in this.
> >
> > We have 1 software in the server which is needed by all the users in all
> > the groups. Software is installed in saperate folder named OPS. Now when
> > the user login to this software from the remove windows clinet machine, 
>it
> > will create a lock file (.lck) under the software folder, when the 
>second
> > user access the same software the .lck file is to be used but now the 
>file
> > created in the software folder has different rights.(Example if the
> > accounts dept user acc1 accessed the software the file created with 
>rights
> > RWX for owner, R for group and others.) Now i want to share that file 
>for
> > all the users who is using the software.
> >
> > How to do this?.
> >
> > How to set the rights 777 for all the files created under the folder
> > software by default so that everyone can access that.
> >
> > Pls help me urgently.
> >
>Hi,
>
>search for "create mask" on the smb.conf man:
>http://us3.samba.org/samba/docs/man/manpages-3/smb.conf.5.html
>
>
>regards,
>Ricardo
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list