[BusyBox-cvs] svn commit: trunk/busybox/sysdeps/linux
landley at busybox.net
landley at busybox.net
Fri Apr 29 19:48:30 UTC 2005
Author: landley
Date: 2005-04-29 13:48:29 -0600 (Fri, 29 Apr 2005)
New Revision: 10201
Log:
On Wednesday 27 April 2005 05:23 am, Patrick Huesmann wrote:
> This is really confusing for users who don't know all details of the
> *nix file permission system.
> Today, I changed my busybox system to use CONFIG_FEATURE_SUID_CONFIG.
> After fighting with the file permissions for hours, I decided that
> updating the documentation might be a good idea.
Modified:
trunk/busybox/sysdeps/linux/Config.in
Changeset:
Modified: trunk/busybox/sysdeps/linux/Config.in
===================================================================
--- trunk/busybox/sysdeps/linux/Config.in 2005-04-28 20:29:58 UTC (rev 10200)
+++ trunk/busybox/sysdeps/linux/Config.in 2005-04-29 19:48:29 UTC (rev 10201)
@@ -113,6 +113,13 @@
cp = --- # disable applet cp for everyone
+ The file has to be owned by user root, group root and has to be
+ writeable only by root:
+ (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
+ The busybox executable has to be owned by user root, group
+ root and has to be setuid root for this to work:
+ (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
+
Robert 'sandman' Griebl has more information here:
<url: http://www.softforge.de/bb/suid.html >.
More information about the busybox-cvs
mailing list