Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Cannot create files in ~/Downloads #3860

@kapilhp

Description

@kapilhp
name: test
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/test...
crouton: version 1-20180718130616~master:5d4c3014
release: buster
architecture: amd64
targets: core
host: version 10575.58.0 (Official Build) stable-channel cyan 
kernel: Linux localhost 3.18.0-17554-g9194949d4df2 #1 SMP PREEMPT Fri Jun 22 17:35:45 PDT 2018 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/test...

Please describe your issue:

Inside the chroot cannot create files in ~/Downloads.

  1. If you copy a file with cp ~/.profile ~/Downloads/test you get an error message as below:

    cp: cannot create regular file '/home/kapil/Downloads/test': Required key not available`

    This also leaves behind a 0 byte file /home/kapil/Downloads/test.

  2. 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:

  1. Create a minimal chroot with sudo crouton -t core -r buster -n test

  2. Enter the chroot with sudo enter-chroot -n test.

  3. Try the copy command cp ~/.profile ~/Downloads/test.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions