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

Re: permissions another question



Le mercredi 11 octobre 2006 00:04, Jesus Arocho a écrit :
> Our machines have a user defined for each family member and a group called
> family. If I create a file in a directory for which I have defined family
> as the group, other users cannot access the file because it is not created
> with family as a group. So I must manually set the group for each file.
> Can the the system be set so that files created under a particular
> directory will be allowed access by all members of the group defined for
> that directory?

>chmod g+s on the directory.
>Every files and dirs will inherit the group.
 
This doesn't seem to work for me, if i create say /test and then /test/file I then use the command "chmod g+s test", now when I look at file using "ls -l" the group permissions for the file are still the same as they were originally?
Am I doing something wrong?
 
thanks

Reply to: