Gentoo Archives: gentoo-user

From: Alan McKinnon <alan@××××××××××××××××.za>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] umask and sticky bit
Date: Wed, 28 Mar 2007 10:57:27
Message-Id: 200703281251.29801.alan@linuxholdings.co.za
In Reply to: Re: [gentoo-user] [OT] umask and sticky bit by Jorge Almeida
1 On Wednesday 28 March 2007, Jorge Almeida wrote:
2 > > What's the reason you want to set the sticky bit for thaqt user?
3 > > With some more info, maybe we can come up with an alternative
4 >
5 > Just to allow users of a certain group to write to common directories
6 > (not always the same, and which might be created by anyone of those
7 > users) and avoid deleting each other's files.
8
9 Could you rig it so these users will only create new dirs in a certain
10 place, like /tmp or /var/tmp? If so, would a cron job running every 10
11 minutes or so running this command be good enough?
12
13 find $TMP_DIR -group $GROUP -type d -exec chmod o+t {} \;
14
15
16 alan
17
18
19 --
20 Optimists say the glass is half full,
21 Pessimists say the glass is half empty,
22 Developers say wtf is the glass twice as big as it needs to be?
23
24 Alan McKinnon
25 alan at linuxholdings dot co dot za
26 +27 82, double three seven, one nine three five
27 --
28 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [OT] umask and sticky bit Jorge Almeida <jalmeida@××××××××××××.pt>