LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Can't chroot in suse (https://www.linuxquestions.org/questions/suse-opensuse-60/cant-chroot-in-suse-506409/)

shame 11-30-2006 11:29 PM

Can't chroot in suse
 
I'm trying to chroot into one of my other distros from suse but I get this error -
Code:

/usr/bin/chroot: cannot run command `/bin/bash': Permission denied
I'm probably missing something really obvious here but what am I doing wrong?

galliar 12-01-2006 09:40 AM

Permissions
 
Who are you logged in as when you run chroot? What do the permissions look like if you ls -l /usr/bin/chroot? You may need to do a chown user:group //usr/bin/chroot on the file to get the permissions correct, and a chmod to open them up.

Regards,

Randy.

shame 12-01-2006 10:22 AM

Permissions are root:root
I've tried running chroot both using sudo and su-ing to root with the same error.
This is in suse factory but I've booted into suse 10.1 and I get the same thing.
I've booted into fedora, kanotix and ubuntu and can chroot fine so I did do what I was trying to do but I would still like to sort out the problem in case I need to do it in the future.
Permissions on chroot are also root:root in the other distros.


All times are GMT -5. The time now is 10:35 PM.