find skips directory when pruning ".gvfs"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
findutils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In a user's home directory, run "find" as root as follows:
# cd /home/cro
# find . -path ./.gvfs -prune -o -print
"find" skips ".gvfs" as expected but fails to descend into the "Dokumente" directory.
The problem occurs under the following conditions:
- "find" is run as "root" via "sudo find"
- gvfs-fuse-daemon mounted on /home/cro/.gvfs
In my case, just the "Dokumente" directory is skipped. I do not have access to another Ubuntu system and cannot say if and how the issue manifests itself on other installations.
The issue occurs when using "flexbackup", and it is annoying that only the less interesting part of my files is backed up.
Work-around is to unmount "gvfs-fuse-daemon" before backup.
Ubuntu 9.04
findutils 4.4.0-2ubuntu4
affects: | ubuntu → findutils (Ubuntu) |
I have a question: could gvfs-fuse-daemon cause "sudo updatedb &" to give the error where /st/bin/find cannot look into .gvfs due to the directory permissions being dr-x (500).
It is possible that there must be a directory-related number before "500" or .gvfs is a virtual directory mounted by interaction between gvfs-fuse-daemon and libgvfs even when drives are mounted.
Since .gvfs is only used with USB drives, sdcards in usb adapter, and devices such as the MTP drive on the cell phone via bluetooth, the find error is not a big error and can be ignore because it is not mission critical.
Hence the lack of complaints about it, because it only occurs when gvfs is not mounted to removable media such remote devices such as the MTP drive on a cell phone paired to my computer, an SDcard or USB drive.
Please note that I am only asking a related question, not a real bug.