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. Thanks & Regards, M.Saravanan CCAT LTD, 4204 Hong Kong Plaza, 188,Connaught Road West,Hong Kong. Phone : 2851 6318. Mobile: 6100 0856 email: saravanan@ccatgroup.com
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
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@moonlight.pt> >Reply-To: glist@moonlight.pt >To: samba@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