From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cord Seele Subject: Bug: User can access dir while root can't? Date: Wed, 18 May 2011 17:45:36 +0200 Message-ID: <20110518154535.GV3676@t61p.seele.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org To: fuse-devel@lists.sourceforge.net Return-path: Received: from wp207.webpack.hosteurope.de ([80.237.132.214]:48334 "EHLO wp207.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757104Ab1ERQK7 (ORCPT ); Wed, 18 May 2011 12:10:59 -0400 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello, I encountered this strange behaviour and think this might be a bug (or at least a vfs inconsistency). I've found a dir .gvfs in my home dir that i can access as user but root fails with EACCES: ~> ls -dlin .gvfs 1 dr-x------ 2 1000 100 0 13. Mai 10:13 .gvfs ~> cd .gvfs ~/.gvfs> ls -lan total 4 dr-x------ 2 1000 100 0 May 13 10:13 . drwxr-xr-x 75 1000 100 4096 May 18 17:30 .. ~/.gvfs> cd .. ~> su Passwort: # ls -dlin .gvfs ls: cannot access .gvfs: Permission denied # cd .gvfs bash: cd: .gvfs: Permission denied ~> mount|grep gvfs gvfs-fuse-daemon on /home/cord/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid, nodev,relatime,user_id=1000,group_id=100) My kernel is a 2.6.37.6 (from an OpenSUSE 11.4). Is the access denial to root for this directory considered OK? I also wonder about the reported dir size of zero (or is this normal for FUSE which I am not familiar with). Sorry for the noise, if this is all due to a misbehaving gvfs-fuse-daemon. Thanks, Cord