8.1 - users can no longer execute anything at home
With the new suse 8.1 (freshly installed yesterday), I can not execute scripts or binaries in "/home/user/bin" (which is on the path environment): I get a permission denied. The same file copied to "/usr/local/bin" executes flawlesly. This happens for all users, except root. Sample: pepe@nimrodel:~> l /usr/local/bin/hellos -rwxr--r-- 1 pepe users 21 2002-11-08 19:17 /usr/local/bin/hellos* pepe@nimrodel:~> l bin/hello -rwxr--r-- 1 pepe users 21 2002-11-08 19:17 bin/hello* pepe@nimrodel:~> l /usr/local/bin/hellos -rwxr--r-- 1 pepe users 21 2002-11-08 19:17 /usr/local/bin/hellos* pepe@nimrodel:~> cat bin/hello #!/bin/sh echo hello pepe@nimrodel:~> hello -bash: /home/pepe/bin/hello: /bin/sh: bad interpreter: Permission denied pepe@nimrodel:~> hellos hello pepe@nimrodel:~> -- Cheers, Carlos Robinson
On Friday 08 November 2002 21.30, Carlos E. R. wrote:
With the new suse 8.1 (freshly installed yesterday), I can not execute scripts or binaries in "/home/user/bin" (which is on the path environment): I get a permission denied. The same file copied to "/usr/local/bin" executes flawlesly. This happens for all users, except root.
Is /home on a separate partition? And is that partition mounted "noexec"? Anders
The 02.11.08 at 21:49, Anders Johansson wrote:
On Friday 08 November 2002 21.30, Carlos E. R. wrote:
With the new suse 8.1 (freshly installed yesterday), I can not execute scripts or binaries in "/home/user/bin" (which is on the path environment): I get a permission denied. The same file copied to "/usr/local/bin" executes flawlesly. This happens for all users, except root.
Is /home on a separate partition? And is that partition mounted "noexec"?
Anders
Absolutely right! A separate partition, yes, of course. And it was mounted noexec, although "I" didn't do it, it was yast! The fstab file had it as: /dev/hdb8 /home reiserfs user 0 0 I changed it to "defaults 1 2", as I had it previously in 7.3. All my partitions were the same, and that was also the reason the graphical login (kdm) did not work. Thank you! -- Cheers, Carlos Robinson
participants (2)
-
Anders Johansson
-
Carlos E. R.