bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.33k stars 264 forks source link

Can't access system homedir after adding symbolic links #3523

Open rgoubet opened 1 week ago

rgoubet commented 1 week ago

I have followed the process described here in order to be able to access my Linux system's home Documents folder from an application running in a bottle.

Unfortunately, this does not appear to work. While the symbolic links are correct when accessed from Linux, the Documents folder does not appear from the Windows application when navigating, in a file selector dialog, to C:\users\user_name.

Using Flatseal, I've given access for Bottles to ~/Documents and even ~/* without any more luck. Any advice?

jntesteves commented 6 days ago

I don't think ~/* is a valid permission, better remove it. There is a toggle for the entire home folder in Flatseal if you want to do that.

You can try adding xdg-documents for exposing the ~/Documents folder, in my experience using the xdg- names usually works better when there are symlinks in the mix.

Edit: Also note that the app always needs to be closed and reopened for static permissions to take effect.