Re: Samba question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What I do is add the users that are going to share the partition into a
common group, e.g. "data1".  Then, in /etc/samba/smb.config, I put
something like this:

[data1]
   comment = ORL shared data1 (primary)
   path = /data1
   browseable = yes
   writeable = yes
   write list = alice bob joe
   force group = +data1
   create mask = 0660
   directory mask = 0770

This should allow users "alice", "bob", and "joe" (who are all members
of group "data1") to have full read / write access to the /data1
directory.

HTH, Ed

On Mon, 2002-11-25 at 09:12, Miloslav Trmac wrote:
> On Mon, Nov 25, 2002 at 02:07:36PM +0100, J.M. Cogels wrote:
> > I've installed a RedHat 8 server for Windows clients using Samba to 
> > replace NT4. Everything works fine now except for one thing. Some users 
> > have access to other users' files and should be allowed to make changes, 
> > but that doesn't always work. When a users saves a file he or she is the 
> > owner, but how can i set all files that are to be saved to be editable 
> > by other users who are allowed to access the share?
> man smb.conf, "force user", "force group", "force create mode", etc.
> 
> 
> 
> -- 
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list





-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux