[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sticky premissions.
- To: Daniel Feiglin <dilogsys(at-nospam)inter.net.il>
- Subject: Re: Sticky premissions.
- From: Adi Stav <stav(at-nospam)actcom.co.il>
- Date: Wed, 24 Oct 2001 03:00:42 +0200
- Cc: Oded Arbel <oded(at-nospam)geek.co.il>, Linux-IL <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <3BD5E03C.8020609@inter.net.il>; from dilogsys@inter.net.il on Tue, Oct 23, 2001 at 11:25:16PM +0200
- Mail-Followup-To: Daniel Feiglin <dilogsys@inter.net.il>,Oded Arbel <oded@geek.co.il>, Linux-IL <linux-il@linux.org.il>
- References: <010901c15b26$24daf9e0$0200a8c0@silver> <013301c15b28$102898c0$0200a8c0@silver> <3BD5E03C.8020609@inter.net.il>
- Sender: Adi Stav <adi(at-nospam)stav.org.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.2.5i
On Tue, Oct 23, 2001 at 11:25:16PM +0200, Daniel Feiglin wrote:
> There is a bit of a self contradiction here: Linux aint Windows. You can create
> a "public" dirctory, say mydir and then say chmod g+rw mydir. But the moment
> someone in the group writes something to it, he can set permissions any way he
> likes, for his own files. The only way to "beat the system", is to have the
> directory owner run a periodic task saying something like chmod -R ug+rw mydir.
No you can't. You can't change permissions (or anything except atime)
on inodes you don't own. If you have write access to the directory,
the most you can do is rename or unlink them (and not even that if
the directory is set sticky and you are not the directory owner).
I think this system makes perfect sense. Why should anyone force
users to have their files with certain permissions? And what if
the same file is linked from several directories? You can set
the default, and if the user chooses give more or less permissions
than the default, then that is their choice. It's _their_ files,
afterall.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il