Common folder between two users (same machine)
Fajar Priyanto
fajarpri at arinet.org
Tue Mar 24 08:29:11 UTC 2009
> Probably simplest is to have both users members of the same "group" (as in
> /etc/group)
>
> Then make the directory (and sub files) owned by that group (chgrp -R
> YourGroup /YourSharedFolder)
>
> Then you want to set that directory's (Set User ID) bit for the group,
> recursively (chmod g+s /YouSharedFolder)
>
> And you should be set...
Little addition, if you want to prevent user from deleting other
user's files, we can use sticky bit:
chmod +t /YourSharedFolder
This way user can modify other user's files, but not delete them, only
the owner can.
More information about the ubuntu-users
mailing list