For some reason, one user on a shared system is having access issues with gvfs. The system is running Ubuntu 18.04 LTS and fully patched up through November 14, 2021.
The process we use to get the mount (each user has their own share on this server):
/usr/bin/dbus-run-session bash
/usr/bin/gio mount smb://username@server/sharename
For all of our users except one, this command runs asks for Domain and password and sets up the connection in:
/run/user/1039/gvfs/
For this one user who cannot connect, it starts to do the connection and then fails with the following error:
"fusermount: failed to access mountpoint /run/user/1039/gvfs: Permission denied"
I took a look at the permissions for that folder and the permissions are r-x------, owned by the user. I've compared this to two known working accounts and those permissions are rwx------ owned by their respective users.
I asked the user with the non-working account to try to change the permissions using chmod, but despite not getting an error, the permissions never seem to change.
Does anyone know any way to get these permissions to set properly, or perhaps reset GVFS, assuming that's the problem?
Thanks!