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

Re: Samba



	You could setgid on the shared directory and chgrp it to the
shared group you want it to belong in... This is a practiced I've
used in the past within an office file server...

	Jeremy

On Wed, Oct 24, 2001 at 10:27:08PM -0500, Michael Grover wrote:
> Hi all.
> 
> Ok, I added my second drive(thanks all for the help), I have it added to
> my fstab file.
> 
> I have a share setup in my smb.conf file sharing it.
> I setup a group that has read and write permission to that drive.
> 
> My problem is that I want all to be able to create and read and modify
> files in this 
> shared directory.
> 
> when one user creates a file, other users can only read it.
> The group for my newly created file is the group of the user who created
> it.
> is there a way to make file and directory creation for samba under my
> network
> group?
> 
> if I set 
>   create mask = 0766 and
>   directory mask = 0777
> 
> it works ok, But I didnt want security that loose.
>   
> 
>   create mask = 0760 and
>   directory mask = 0770
> 
> is what I wanted.
> 
> What I am basicly  asking is if there is a way for files and directory's
> to
> be created through samba to belong to the same group?
> 
>         thanks, mike
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: