← Commit list

fdc4c203e

Rob Landley
Rob Landley
2005-04-29
FAILED Duration: 24s

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 t

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

sysdeps/linux/Config.in+7 -0
@@ -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:
<url: http://www.softforge.de/bb/suid.html >.