Skip to content
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

Use personal-files to allow read-only access to ~/.mutt/ directory #7

Closed
jarkkojs opened this issue Aug 25, 2021 · 2 comments · Fixed by #13
Closed

Use personal-files to allow read-only access to ~/.mutt/ directory #7

jarkkojs opened this issue Aug 25, 2021 · 2 comments · Fixed by #13

Comments

@jarkkojs
Copy link

My mutt configuration is structured as follows:

.mutt/
├── accounts/
├── aliases
├── muttrc
├── sort-date.rc
├── sort-threads.rc
└── themes/

And I would like provide read-only access to this. Would it be possible to provide this for this snap by using https://snapcraft.io/docs/personal-files-interface?

I'm using 20.04 LTS, and Ubuntu does not provide a deb backport for mutt 2.0.

They I workaround the existing snap is that I just do this:

$ rmdir ~/snap/mutt/common && ln -s $HOME ~/snap/mutt/common
@jarkkojs
Copy link
Author

Another workaround:

$ snap run --shell mutt
$ HOME=<home directory> mutt

@jarkkojs
Copy link
Author

jarkkojs commented Aug 25, 2021

Also this works:

$ ln -s ~/.mutt /home/jarkko/snap/mutt/common/
$ ln -s ~/.mailcap ~/snap/mutt/common/

I'm just worried what happens when snap is removed. Does it remove just the symbolic link or recursively delete everything in ~/mutt?

@jnsgruk jnsgruk linked a pull request Feb 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant