On Wednesday 28 March 2007, Jorge Almeida wrote:
> I would like the default permissions for directories created by a
> particular user to be 1775. Is there some way to achieve this? I
> think umask doesn't deal with the sticky bit.
I did a few simple tests here, I also find that umask doesn't like
setting sticky and {s,g}uid. Maybe you can achieve the same result with
acls?
What's the reason you want to set the sticky bit for thaqt user? With
some more info, maybe we can come up with an alternative
Incidentally, even if we persuade umask to set the sticky bit on dirs,
it's probably not what you want, as it'll make all files sticky as well
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
[email protected] mailing list