Kevin Pulo wrote:
r...@bebique:~# du -axk /home/kev/mnt/sf du: cannot access `/home/kev/mnt/sf/home': Permission denied
4       /home/kev/mnt/sf
r...@bebique:~# du -axk --exclude=/home/kev/mnt/sf/home /home/kev/mnt/sf
du: cannot access `/home/kev/mnt/sf/home': Permission denied
4       /home/kev/mnt/sf
r...@bebique:~# echo $? 1 r...@bebique:~#

The fuse mount point is /home/kev/mnt/sf/home right? I believe this is a bug in the fuse kernel filesystem driver. While it can refuse access to the contents of the filesystem, a stat on the mount point itself should work and probably return a mode indicating you do not have read or execute access to the directory so tools know not to try traversing it.



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to