Deleting Trash can
Jozsef Mak
j_mak3 at hotmail.com
Mon Dec 20 18:35:13 UTC 2004
>From: Wander Boessenkool <wander at tomaatnet.nl>
>Reply-To: wander at tomaatnet.nl
>To: Jozsef Mak <j_mak3 at hotmail.com>
>CC: ubuntu-users at lists.ubuntu.com
>Subject: Re: Deleting Trash can
>Date: Mon, 20 Dec 2004 18:36:36 +0100
>
>On Mon, 2004-12-20 at 11:48 -0500, Jozsef Mak wrote:
> > What is the command line level command for emptying the wastebasket?
>
>rm -r ~/.Trash/*
>
>change that to an rm -rf if you're feeling lucky, and you are sure you
>don't make typos ;-)
>
>but possibly you need to do a:
>
>sudo chown -R yourusername /home/yourusername/.Trash/
>
>first.
Hi,
I executed the commands you told me but it didn't empty the trash can.
root at ubuntu:/home/mak # chown -R mak /home/mak/.Trash
root at ubuntu:/home/mak # rm -rf ~/.Trash/*
Did i execute them in the right order?
thanks
> > jozsefmak
> >
> > >From: Brian Puccio <brian at brianpuccio.net>
> > >To: ubuntu-users at lists.ubuntu.com
> > >Subject: Re: Deleting Trash can
> > >Date: Sun, 19 Dec 2004 22:52:33 -0500
> > >
> > >On Sun, 2004-12-19 at 21:19 -0500, Jozsef Mak wrote:
> > > > Hi,
> > > >
> > > > I have hundreds of MB of old files and folder in my Trash can and
> > >Ubuntu
> > > > doesn't let me delete them because i have no permission. How can i
> > >delete
> > > > these folders and files and how can i disable this permission
>feature
> > > > because it drives me crazy.
> > >
> > >I had that issue once as well. Not sure what created it. Anyhow, as
> > >root, go into the Trash folder and as root delete those files (I just
> > >used sudo at a command prompt, though I guess you can always gksudo a
> > >nautilus session and remove them that way.
> > >
> > >The permission feature is just part of the normal linux filesystem, you
> > >can't delete files you don't have access to. Again, I'm not sure what
> > >caused it, but the hiccup only happened once to me.
> > >
> > >Maybe a "force empty" option when right-clicking the trash can that
> > >prompts for the root password to take care of issues such as this?
> > ><< signature.asc >>
> > >--
> > >ubuntu-users mailing list
> > >ubuntu-users at lists.ubuntu.com
> > >http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> >
> >
><< signature.asc >>
More information about the ubuntu-users
mailing list