Sylvester Lykkehus wrote:
> James Knott wrote:
>> Sylvester Lykkehus wrote:
>>  
>>> M Harris wrote:
>>>    
>>>> On Friday 23 February 2007 10:55, Sylvester Lykkehus wrote:
>>>>  
>>>>      
>>>>> The reason for this, is that currently when zly creates a new file,
>>>>> johndoe does not have access to it.
>>>>>             
>>>>     Is read access ok?
>>>>
>>>>     Try making the directory    chmod 0774
>>>>         
>>> The thing is, I don't want "others" to have access to the directory at
>>> all.
>>>
>>> In fact, to simplify the question:
>>> Is it possible to define, that when I create files in a specific
>>> directory, the files will not be (ch)owned to the default group, but
>>> instead as another group which I am a member of?
>>>     
>>
>> Did you not see my note from yesterday, about setting gid?
>>
>>   
> Hi James,
>
> No, I do not seem to have received that.
> I did receive one from Anders Johansson, which he posted to the list,
> suggesting to set the sgid.
> This, together with and default acl allowing write access to the group
> (setfacl d:g::rw-) has solved the issue.
>
> Thanks for your replies.
> Sylvester
Depending on the control you want, you may also want to look at the
sticky bit, which allows only the file owner or root to delete a file.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to