Thread: Unable to change user/group permissions on samba shares
hi everyone,
i'm pretty new linux world , first real problem can't solve self.
i've test samba share called "share" , i've created 3 users:
-mones
-fsu
-fsu2
created 2 groups (mapped unix):
-fsg
-fsg2
if create file windows on share can't change group of file created! can change permissions not group itself.
smb.conf:
what doing wrong??code:[share] path = /media/data/share create mask = 0775 directory mask = 0775 writeable = yes ; browseable = yes valid users = fsu, mones, @fsg, @fsg2
thanks,
simone.
if understand post don't think can achieve want achieve.
if have user named morbius , member of fsg group files save user=morbius , group=morbius.
can add parameter in share definition force group ownership:
so when morbius saves file owner=morbius , group=fsg can have 1 "force user" , looks have 2 groups.code:force group = fsg
suppose can create 2 identical shares have same path differ name , group:
code:[share-fsg] path = /media/data/share create mask = 0775 directory mask = 0775 writeable = yes ; browseable = yes force group = fsg valid users = fsu, mones, @fsgyou force saved group neutral group "nogroup" files saved belong same group.code:[share-fsg2] path = /media/data/share create mask = 0775 directory mask = 0775 writeable = yes ; browseable = yes force group = fsg2 valid users = fsu, mones, @fsg2
again i'm not sure trying achieve.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Unable to change user/group permissions on samba shares
Ubuntu
Comments
Post a Comment