Sharing directories across the LAN
Derek Broughton
news at pointerstop.ca
Tue Oct 23 23:20:29 UTC 2007
Derek Broughton wrote:
> Kenneth P. Turvey wrote:
>
>> On Tue, 23 Oct 2007 13:35:17 -0300, Derek Broughton wrote:
>>
>> [Snip]
>>> The problem I'm running into is with making all files modifiable by both
>>> users. If the folder has the guid bit set, and we're both in the group,
>>> then all files get created with the same group - so far so good.
>>> However, by default files are generally not created with group write
>>> permission, and I don't really want to change that globally.
>>
>> This really is how you do this usually. You just make the directory you
>> want to share SGID to the group that you are both in. Then you make sure
>> that your umasks are both set with group write Ok.
>
> I think, probably, my real problem has been an unreasonable fear of
> changing the umask :-)
>
> You're right - since homedirs generally have a group that's unique to the
> user, setting the umask to make files group-writeable by default shouldn't
> be an issue.
Thanks everyone. This is working fine for me, now.
--
derek
More information about the ubuntu-users
mailing list