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

bug(snap): snap rclip package cannot access network mounts #155

Open
jantigenie opened this issue Dec 13, 2024 · 5 comments
Open

bug(snap): snap rclip package cannot access network mounts #155

jantigenie opened this issue Dec 13, 2024 · 5 comments
Assignees
Labels
bug Something isn't working triage

Comments

@jantigenie
Copy link

jantigenie commented Dec 13, 2024

unexpected error when executing 'rclip dog' in a sshfs ou smb mounted drive (path : /home/user/mountpoint)
Debian 12/snapd/rclip 1.11.0

cannot open path of the current working directory: Permission denied on mounted directories

@yurijmikhalevich yurijmikhalevich added bug Something isn't working triage labels Dec 14, 2024
@yurijmikhalevich yurijmikhalevich self-assigned this Dec 14, 2024
@yurijmikhalevich
Copy link
Owner

Hi @jantigenie! Because snap limits app access to certain folders, you have to run sudo snap connect rclip:removable-media to let it access mounted drives. Can you let me know if this fixed the issue for you?

@jantigenie
Copy link
Author

Hello yurijmikhalevich,
Many thanks for your reply.
Unfortunately I still have an error message on sshfs and cifs mounted drives :
'cannot open path of the current working directory: Permission denied'
The current user has rw rights on the current folder.
Thanks in advance for helping !

@yurijmikhalevich
Copy link
Owner

@jantigenie, interesting. Let me try to reproduce it.

For now, as a workaround, can you see if AppImage version of rclip will work for you? It isn't being sandboxed by snap and should have access to all directories the Linux user has access to.

@jantigenie
Copy link
Author

@yurijmikhalevich You're right, AppImage version of rclip can access to mounted drives. Thanks for your work&help.

@yurijmikhalevich
Copy link
Owner

@jantigenie, glad it was resolved. I'll update you in this Issue once the permissions issue with snap is fixed. Thank you for reporting it!

@yurijmikhalevich yurijmikhalevich changed the title Error :cannot open path of the current working directory: Permission denied on mounted directories bug(snap): snap rclip package cannot access network mounts Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants