delete .Trash in USB sticks

Murat D. Kadirov md.kadirov at gmail.com
Sat Oct 13 04:29:26 UTC 2012


On 13.10.2012 01:58, Robert Holtzman wrote:
> On Fri, Oct 12, 2012 at 11:32:25PM +0600, Murat D. Kadirov wrote:
>> On 12.10.2012 20:36, oxy 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 ...
>>>
>> You need append -R (recursively) option
> Did You miss the part of the OP's message that said "Read-only file
> system"?

I may be wrong, but this alert also prompt because of insufficient 
rights add/delete files on filesystem,
not only because read-only mounting.

-- 
Murat D. Kadirov
PGP fingerprint: 3081 EBFA 5CB9 BD24 4DB6  76EE 1B97 0A0E CEC0 6AA0

  * English - detected
  * English
  * Russian

  * English
  * Russian

<javascript:void(0);>




More information about the ubuntu-users mailing list