Re: [PATCH] Ext2FS: SUID on Dir

From: Clifford Wolf (clifford@clifford.at)
Date: Tue Aug 28 2001 - 13:04:32 EST


Hi,

> It would at least be more logical to have SUID do for user IDs
> what SGID does for group IDs.

Maybe - but at least I can't thing of any situation where that could be
needed.

> Having SUID muck with group IDs is pretty ugly.

It doesn't. It "mucks" with the group field in the file mode, it doesn't
do anything to the group id.

To be more exact: It copies the permissions from the user field in the
file mode to the group field in the file mode. Imo that is not far away
from the meaning of a SUID bit on programms: It gives the rights from the
user who owns the file to a wider range of users ..

yours,
 - clifford

--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
Clifford Wolf ................ www.clifford.at IRC: http://opirc.nu
The ROCK Projects Workgroup .. www.rock-projects.com Tel: +43-699-10063494
The ROCK Linux Workgroup ..... www.rocklinux.org Fax: +43-2235-42788-4
The NTx Consulting Group ..... www.ntx.at email: god@clifford.at

Reality corrupted. Reboot universe? (Y/N) www.rocklinux.net

-
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 : Fri Aug 31 2001 - 21:00:30 EST