mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rob Couto <rpc@cafe4111.org>
To: linux-kernel@vger.kernel.org
Subject: Re: setgid - its current use
Date: Thu, 8 Apr 2004 21:46:26 -0400	[thread overview]
Message-ID: <200404082146.26103.rpc@cafe4111.org> (raw)
In-Reply-To: <1081446055.1587.172.camel@cube>

> I think you need user-private groups and setgid directories.
>
> First of all, ensure that each user has a group of
> their own. Do NOT put all users into a "users" group.
> So user "gami" would be in group "gami", or maybe
> a "gami_group" group if you prefer. Have the home
> directories owned by these groups.
>
> Second, set the umask to allow group write access.
> (this is why you need the user-private groups)
>
> Now suppose you have two users, bill and tom,
> who need to work together on the spamming project.
> Create a group called "spamming". Create a project
> directory /projects/spamming owned by root and
> in the spamming group. Make this directory setgid
> and group writable. Any files created in this
> directory will be owned by the spamming group.
> Due to the umask setting, permissions on these
> new files will allow access by all group members.
> The setgid bit will propagate to any newly created
> directories, but not to newly created files.
>

that must be the fine-grained control _i_ was after!! thank you... and we 
thought mandrake was a little stupid for doing new users that way... neural 
oops 

-- 
Rob Couto [rpc@cafe4111.org]
Rules for computing success:
1) Attitude is no substitute for competence.
2) Ease of use is no substitute for power.
3) Safety matters; use a static-free hammer.
--

  reply	other threads:[~2004-04-09  1:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-08 17:40 Albert Cahalan
2004-04-09  1:46 ` Rob Couto [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-08  1:46 Dhruv Gami
2004-04-08  7:41 ` Denis Vlasenko
2004-04-08  3:06   ` Dhruv Gami
2004-04-08 11:49     ` Miquel van Smoorenburg
2004-04-08 14:08     ` Jesse Pollard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200404082146.26103.rpc@cafe4111.org \
    --to=rpc@cafe4111.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome