delete .Trash in USB sticks

William Scott Lockwood III vladinator at gmail.com
Fri Oct 12 14:39:45 UTC 2012


On Fri, Oct 12, 2012 at 9:36 AM, oxy <oxyopes at googlemail.com> wrote:
> Hi all,
>
> I wanna delete this .Trash from my usb stick:
>
>> rm -rf /media/xxx/.Trash-1000
>    rm: cannot remove `/media/xxxx/.Trash-1000/files/.Trash-abc/def (copy)/ghi':
>         Read-only file system
>> chmod a+rw /media/xxxx
>> rm -rf /media/xxx/.Trash-1000
>    rm: cannot remove `/media/xxxx/.Trash-1000/files/.Trash-abc/def (copy)/ghi':
>         Read-only file system
>
> How to do that?
>
> thx ...

If it's mounted read only, you can't alter the file system. A better
question is, what's causing it to be mounted read only? If you remount
it rw rather than ro, you can do whatever you want.

-- 
Regards,
W. Scott Lockwood III




More information about the ubuntu-users mailing list