~/.gvfs is not accessible by root
Submitted by Nik..@..th.org
Assigned to gvf..@..e.bugs
Link to original bug (#560658)
Description
Please describe the problem: The ~/.gvfs directory is mounted without the --allow-root FUSE option. This causes obscure errors in all programs that rely on root being able to access the whole filesystem.
Affected programs are both interactive and non-interactive. Interactive problems occur when, for example, one tries to install a package from a FUSE mounted directory. Since package installation requires superuser privileges, the package manager is started with sudo, but then cannot read the package anymore. Non-interactive problems arise for example with period backups.
This can be fixed by always mounting with --allow-root. Additionally, I suggest to also move the ~/.gvfs directory to a place where it is less likely to cause trouble, e.g. /tmp/$user-gvfs.
This problem has already been reported in bug 534284. I am submitting a new bug because I am not able to reopen the later one. I think it has been closed incorrectly, because clearly the problem can be fixed in gvfs. The statement that --allow-root is no longer supported in FUSE is wrong.
Steps to reproduce:
Actual results:
Expected results:
Does this happen every time?
Other information:
Version: 1.0.x