1

I use several symlinks in my root directory usually pointing somewhere into /home directory. I can keep projects organized in directories, but I still have quick (terminal) access to them.

e.g.: /g -> /home/z/projects/kotlin/TheGame

But for snap applications, these symlinks are not visible.

Does exist any way how to globally add such symlinks (/bind mounts/another solution) to snap applications?

Thanks

ybznek
  • 11
  • 1
  • 1
    I can understand why you may want such links for data directories (but why in the root file system???), but not why you would want this for applications. These can be summoned already by a single command, which you could further abbreviate with a symbolic link or an alias. For daily use, you have no business in the application folders. – vanadium Sep 10 '21 at 07:00
  • @vanadium cd /g is shorter cd /home/z/g and cd ~/g does not work under root user. When I have "/g/image.png" in clipboard, I cannot open such image in snap gimp for example and I have to retype the path. – ybznek Sep 11 '21 at 08:38
  • It is a very bad habbit to run user applications as root user. – vanadium Sep 13 '21 at 10:15
  • Running as root is only one of usecases which does not cause problems. Main issue is about snap apps which cannot access the path. – ybznek Sep 14 '21 at 12:02
  • Probably not easy to solve: https://askubuntu.com/questions/1033344/how-to-give-snaps-access-to-somedir – vanadium Sep 14 '21 at 13:24

0 Answers0