common directory with group controlled acces for multiple users
Smoot Carl-Mitchell
smoot at tic.com
Fri Sep 12 23:51:12 UTC 2008
On Sat, 2008-09-13 at 00:55 +0200, Alain Muls wrote:
> Hi
>
> I need to setup an account on my server for 3 students so that they can have
> access to executables and scripts for processing daily GPS observations. Since
> I want only 1 copy of these exe/scripts, I am thinking about setting them up
> in /usr/local/share/gpsprog dir and I want to set the s-bit on the group, so
> that I have
>
> rxwrws--- /usr/local/share/gpsprog
>
> Now if one of the students modify a script, the others should have access to
> this dir. I think I should set something similar to umask for these persons.
> How can I do that?
Set the umask to 002, instead of the default 022. You can do this in
each user's .bashrc.
I would recommend setting up each user with a separate username and
separate home directory. You can put each user in your shared group
which is the group owner of the /usr/local/share/gpdprog directory.
That way each user can use their own username and password, but still
have shared write access to the common directory. For convenience you
can set up a symlink to the shared folder in their home directory.
--
Smoot Carl-Mitchell
System/Network Architect
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005
More information about the ubuntu-users
mailing list