Please paste the output of the following command here: sudo edit-chroot -all
I can't
I am having permission issues as of today using sudo startxfce4. saying I need root, don't have permission. I haven't changed anything either which I thought was strange.
crosh> shell
chronos@localhost / $ sudo edit-chroot-all
sudo: edit-chroot-all: command not found
chronos@localhost / $ sudo edit -chroot -all
sudo: edit: command not found
chronos@localhost / $ enter-chroot
enter-chroot must be run as root.
chronos@localhost / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/xenial...
ln: failed to access '/var/run/crouton/mnt/stateful_partition/crouton/chroots/xenial/etc/resolv.conf': Permission denied
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
Also having this very similar output as of today, but with unity.
did you try sudo edit-chroot -all for the edit chroot? also, this is happening on all chroots so stay tight, it's gonna be a long journey.
You should be able to fix the error ln: failed to access '/var/run/crouton/mnt/stateful_partition/crouton/chroots/xenial/etc/resolv.conf': Permission denied with the following command:
sudo sh ~/Downloads/crouton -u.
See https://github.com/dnschneid/crouton/issues/3708 for reference
I have tried all of the above suggestions to no success so far.
When I try updating crouton it gives me: sudo: /home/chronos/user/Downloads/crouton -u: command not found
@Coyote4522 , do you have the crouton script downloaded right now? Please download it from https://goo.gl/fd3zc and place it in your downloads folder without changing the name of the file. Afterward, you should be able to run the previously mentioned command.
@hammy3502 I do indeed, just deleted and re-downloaded. Sameeeee deal. Very odd as it was working the day previous without issue.
Entering /mnt/stateful_partition/crouton/chroots/pendragon...
ln: failed to access '/var/run/crouton/mnt/stateful_partition/crouton/chroots/pendragon/etc/resolv.conf': Permission denied
Happening on my end here on 67.0.3383.0 canary.
Have you tried my solution? It fixed it for me.
@hammy3502 Yeah, unfortunately I still do not have permission.
I just restored from a backup and updated and now:
Unable to cd to '/home/chase'
Unmounting /mnt/stateful_partition/crouton/chroots/pendragon...
and also
su: warning: cannot change directory to /home/chase: Permission denied
su: failed to execute /bin/bash: Permission denied
I'll give it a powerwash and try again sometime later.
The issue regarding .../resolv.conf: Permission denied has been resolved.
Please refer to this comment for a resolution: https://github.com/dnschneid/crouton/issues/3695#issuecomment-376780085
Hope this helps,
-DennisLfromGA
Most helpful comment
You should be able to fix the error
ln: failed to access '/var/run/crouton/mnt/stateful_partition/crouton/chroots/xenial/etc/resolv.conf': Permission deniedwith the following command:sudo sh ~/Downloads/crouton -u.See https://github.com/dnschneid/crouton/issues/3708 for reference