Can't copy /etc/passwd

Conny Enström uncurbed at swipnet.se
Fri Jan 20 13:46:17 UTC 2012


2012-01-20 14:11, Olivier Pavilla skrev:
> Hi everyone.
>
> I followed this howto to chroot 32 bits ubuntu distro.
> https://help.ubuntu.com/community/BasicChroot
> But I got a problem.
> I can't copy /etc/passwd to /32bits/etc/passwd
> I get this error message:
>
> oliviern at korriban:~$ sudo grep "^[^:]*:x:[0-9][0-9][0-9][0-9]:"
> /etc/passwd>>  /32bits/etc/passwd
> bash: /32bits/etc/passwd: Permission non accordée
> olivier at korriban:~$ ls -lha /32bits/etc/passwd
> -rw-r--r-- 1 root root 761 2012-01-20 05:49 /32bits/etc/passwd
>
> Does anyone have idea?
>
> --
> Olivier Pavilla
> http://www.linux-squad.com
> "Les fautes d'orthographes de mes propos sont sous licence Ane bâté 1.0"
>
>

Install Midnight Commander ( sudo apt-get install mc ) might work.
Then: sudo mc
Try and copy the file passwd again ( F5 )





More information about the ubuntu-users mailing list