[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unrestrict chown?



On Tue, 09 Dec 2008 23:03:38 +0100
Sven Joachim <svenjoac@gmx.de> wrote:

> On 2008-12-09 22:56 +0100, Celejar wrote:
> 
> > On Tue, 9 Dec 2008 13:53:47 -0800 (PST)
> > Arc Roca <tonroca@yahoo.com> wrote:
> >
> >> That would be a terrible thing to happen, that any one could appropriate your files to themselves.
> >
> > I've been wondering about this; what would be the problem with the OS
> > allowing user1 to chown his files to user2, assuming we don't allow
> > this to occur with suid executables, of course.
> 
> It would be a DoS against user2 if disk quotas are used.

Good point.  I suppose that danger will also exist if user2 has any
file at all that is world writable.  Running 'find  ~ -perm  /o+w -type
f' seems to indicate that I don't have any, so I guess I'm safe ...

> Sven

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Reply to: