From fdc4c203e54227a2d79fe0a4936ce4bc020e1eff Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 29 Apr 2005 19:48:29 +0000 Subject: 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. --- sysdeps/linux/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sysdeps/linux') diff --git a/sysdeps/linux/Config.in b/sysdeps/linux/Config.in index e926b5973..2a00a17a2 100644 --- a/sysdeps/linux/Config.in +++ b/sysdeps/linux/Config.in @@ -113,6 +113,13 @@ config CONFIG_FEATURE_SUID_CONFIG 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: . -- cgit v1.2.3