Re: suid bit on directories

From: dean gaudet (dean-list-linux-kernel@arctic.org)
Date: Mon May 20 2002 - 13:12:15 EST


On Mon, 20 May 2002, Michael Hoennig wrote:

> Why do you ignore my example? In my example the use who runs the webserver
> owns all the files, that is wrong. With the suid bit on directories, this
> could be fixed.

CAP_FCHOWN would appear to accomplish what you need (with the bonus of
already existing in modern linux kernels)... the webserver should be able
to chown away a file if it's given this capability.

-dean

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:20 EST