LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-30-2006, 11:29 PM   #1
shame
Member
 
Registered: Apr 2006
Location: England
Distribution: Debian Sidux - openSUSE
Posts: 261

Rep: Reputation: 30
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?
 
Old 12-01-2006, 09:40 AM   #2
galliar
Member
 
Registered: Jan 2005
Location: Vancouver, WA
Distribution: Suse 10.2, FreeBSD 6.2
Posts: 175

Rep: Reputation: 32
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.
 
Old 12-01-2006, 10:22 AM   #3
shame
Member
 
Registered: Apr 2006
Location: England
Distribution: Debian Sidux - openSUSE
Posts: 261

Original Poster
Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 10:30 AM
mount command not working in chroot. and now chroot not working mohit.jain Linux From Scratch 5 07-14-2006 03:57 AM
chroot ssh/sftp on SuSE 9.2 Pro ctb123 Linux - Security 3 06-27-2006 08:45 AM
i need help with chroot Paxmaster Linux - General 1 04-04-2005 08:07 AM
Better than chroot? radnix Linux - Security 5 12-20-2002 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration