Re: common directory with group controlled acces for multiple users



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@xxxxxxx
+1 480 922 7313
cell: +1 602 421 9005

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: execute a proram upon initial login
    ... > from some skeleton directory to the user's home directory. ... And your scripts are perfect, ... Then again, this was on a students' shell server, so while the admin ...
    (comp.unix.bsd.freebsd.misc)
  • Security on Home Directories
    ... I am trying to integrate some macs into our windows 2003 server environment. ... The problem I have is with the security on users home directories. ... so the group "teachers" is for teachers and the group "students" is ... account on the macs you cant mount your home directory unless you have read ...
    (microsoft.public.win2000.active_directory)
  • Sercurity on Home Directories
    ... I am trying to integrate some macs into our windows 2003 server environment. ... The problem I have is with the security on users home directories. ... so the group "teachers" is for teachers and the group "students" is ... account on the macs you cant mount your home directory unless you have read ...
    (microsoft.public.windows.server.active_directory)
  • Changing default Security on Home Directories
    ... I am trying to integrate some macs into our windows 2003 server environment. ... The problem I have is with the security on users home directories. ... so the group "teachers" is for teachers and the group "students" is ... account on the macs you cant mount your home directory unless you have read ...
    (microsoft.public.win2000.group_policy)
  • Re: Problem that has never been resolved, Mapped home directory
    ... So I do not have them on the root of the folder. ... When is fails it maps to the root file students. ... have them map the drive and it will map correctly but this is hard ... I hope you are aware that home directory and profile path are two ...
    (microsoft.public.windows.server.active_directory)