From: Hans-Ulrich J. <han...@t-...> - 2010-05-07 19:05:04
|
Hello Jonathan, the binaries /usr/bin/sramdisk, /usr/bin/sdcreate, /usr/bin/sdmount and /usr/bin/sdumount are installed by the SD4L packages with SUID bit set. The command ls -l will show them with rights "-rwsr-xr-x" with "s" standing for the SUID bit. This means that these commands are executed with super user rights. The effect should be the same as calling a normal binary with sudo. Could you please have a look whether the SUID bit has been removed on the system which shows this problem? If not, that system may do some special things in order to prevent SUID bit programs to be executed with super user rights. Best regards, Ulrich Jonathan Coles wrote: > I mount a Scramdisk partition using sdmount. Unless I run sdmount as > root (sudo), I get the error, "could not lock /etc/mtab". > > On another machine, this isn't a problem. If I did something special to > make it work over there, I have forgotten it. > > Any ideas what causes this error? > > Thanks. > |