Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Home folder permissions denied #10

Open
frpenguin opened this issue Mar 6, 2020 · 7 comments
Open

Home folder permissions denied #10

frpenguin opened this issue Mar 6, 2020 · 7 comments

Comments

@frpenguin
Copy link

Manjaro Linux 19.0.2

After initial install I get the following error

2020/03/06 19:54:34.179897 cmd_run.go:884: WARNING: cannot create user data directory: cannot create "/home/myuser/snap/sosumi/common": mkdir /home/myuser/snap/sosumi/common: permission denied
cannot create user data directory: /home/myuser/snap/sosumi/15: Not a directory

Any susgestions ?

@popey
Copy link
Owner

popey commented Mar 6, 2020

Thanks for the issue report.
Is your home directory setup non-standard? What's the output of snap version?

@frpenguin
Copy link
Author

The home directory was created during default manjaro installation. My file system is f2fs if that matters. The output of snap version is:

snap     2.43.3-2
snapd    2.43.3-2
series   16
manjaro  -
kernel   5.5.7-1-MANJARO

@frpenguin
Copy link
Author

frpenguin commented Mar 6, 2020

Also removing the snap with snap remove sosumi

gives the following error:

error: cannot perform the following tasks:
- Remove data for snap "sosumi" (15) (unlinkat /home/myuser/snap/sosumi/15/ESP.qcow2: read-only file system)

@popey
Copy link
Owner

popey commented Mar 6, 2020

Do other snaps work? Perhaps something else graphical like scummvm?

@frpenguin
Copy link
Author

frpenguin commented Mar 7, 2020

I tried vlc. Same result. After some searching, it appears to be an AppArmor issue with confinement in snap, as shown in the ArchWiki. I still haven't figured out what I must do.

@frpenguin
Copy link
Author

I created a post on Manjaro Forums

@fabiancrx
Copy link

Any luck with this issue? I had a similar problem where the output is:

/home/myuser/snap/sosumi/18: Not a directory

This happened after I made the snap directory a link to another partition where I have sufficient space for a macOS.
Is there a way to store the OS in another partition?
I'm also using manjaro and the output of snapd is:

snap     2.43.3-2
snapd    2.43.3-2
series   16
manjaro  -
kernel   5.4.25-2-MANJARO

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants