Re: how to remove ? directory
On Tue, Jan 28, 2014 at 10:00:05PM +0800, lina wrote:
> On Tuesday 28,January,2014 09:46 PM, Craig L. wrote:
> > On Tue, Jan 28, 2014 at 09:34:00PM +0800, lina wrote:
> >> On Tuesday 28,January,2014 09:24 PM, Sven Hartge wrote:
> >>> lina <lina.lastname@gmail.com> wrote:
> >>>
> >>>> ls: cannot access .gvfs: Permission denied
> >>>
> >>>> d????????? ? ? ? ? ? .gvfs
> >>>
> >>>> a# rm -rf .gvfs
> >>>> rm: cannot remove `.gvfs': Is a directory
> >>>
> >>>> any advice, I think the .gvfs being introduced long time ago when I
> >>>> tried to mount the iphone.
> >>>
> >>>> Thanks ahead for your advice,
> >>>
> >>> This is normal. GVFS is a userspace filesystem used by GNOME to mount
> >>> and present external filesystems on USB sticks, CD/DVDs or network.
> >>>
> >>> Looking at the .gvfs directory of a user as root looks like the above
> >>> and cannot be deleted or changed, while anything using GVFS is active.
> >>
> >> It came when I was trying to mount iphone. Later never tried again.
> >>
> >> Even the root has no right to change the ownership or rm this directory,
> >> I think I will let it be here.
> >>
> >> Thanks,
> >
> > Most likely you do not have execute permission set on the parent directory.
> > Can you show us the entire output of ls -al?
>
> It is so strange, as a user (before I didn't try as user ):
>
> dr-x------ 2 lina lina 0 Jan 28 14:44 .gvfs
>
> which is under my /home/lina directory.
>
> while as a root, it shows:
>
> root@debian:/home/lina# ls -lrta
> ls: cannot access .gvfs: Permission denied
> total 4504
> d????????? ? ? ? ? ? .gvfs
>
I think you need to (as user):
chmod 755 .gvfs
>
>
> >
> >>
> >>>
> >>> Do not worry, everything is perfectly normal and fine, nothing is
> >>> broken.
> >>>
> >>> Grüße,
> >>> Sven.
> >>>
> >>
> >>
> >>
> >> --
> >> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> >> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >> Archive: [🔎] 52E7B1C8.9040307@gmail.com">http://lists.debian.org/[🔎] 52E7B1C8.9040307@gmail.com
> >>
> >
> >
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 52E7B7E5.3040802@gmail.com">http://lists.debian.org/[🔎] 52E7B7E5.3040802@gmail.com
>
Reply to: