-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create files in ~/Downloads
#3860
Comments
The problem arose some time after 2018-07-29 14:39:15 (+5:30) which is the last time when I updated the chroot! |
TL;DR Looks like It looks like the loss of permission comes with the last Further investigation is required as I have only checked this in a separate |
Looking into
The line revoking the keys is what causes the difficulties. This file was dropped there by Edit: Added a bug report to |
What change was done: dpkg --get-selections > installed-packages.crouton Why was this change made: noticed a few errors in crouton shell when chroot sid started up, so I added a bare minimum packages to remove those errors. I suggest disabling audio in chroot via xfce4-settings rather than installing a ton of audio-based libraries just to remove that startup error. Also ensure /tmp/.ICE-unix and /tmp/.X11-unix are owned by root Outstanding issues: /etc/pam.d/su-l is broken, which I hacked by commenting out the line mentioned in dnschneid/crouton#3860 to enable writing to ~/Downloads
Thanks @kapilhp, your suggestion in #3860 (comment) for changing |
I've got the same problem, what's the fix? |
thanks for the link, yup it works. |
but the ssh deamon still have the key error ,how should i fix it ? |
Is there a fix for this? @Asternitix you mention a link, but don't see one. Was it via PM? Can you share? Not following the comment for using the command 'sudo -i -u' ...once in the chroot, instead of just sudo su? ....Tried that, and still have error. (Also on buster) |
it was a link to a comment on this thread. sunaku posted it |
For the time being a solution is to edit |
This is honestly not surprising coming from Ubuntu.. |
Thanks! |
2020 calling, @sunaku the fix you linked to still works |
Please describe your issue:
Inside the chroot cannot create files in
~/Downloads
.If you copy a file with
cp ~/.profile ~/Downloads/test
you get an error message as below:This also leaves behind a 0 byte file
/home/kapil/Downloads/test
.If you try to edit a file with
vi ~/Downloads/test
then you get the "swap file already exists" message and there are files.test.swo
and.test.swp
in~/Downloads
. You can also no save a file to~/Downloads
.If known, describe the steps to reproduce the issue:
Create a minimal chroot with
sudo crouton -t core -r buster -n test
Enter the chroot with
sudo enter-chroot -n test
.Try the copy command
cp ~/.profile ~/Downloads/test
.The text was updated successfully, but these errors were encountered: