delete .Trash in USB sticks
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 ... -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
delete .Trash in USB sticks
On Fri, Oct 12, 2012 at 9:36 AM, oxy <oxyopes@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 -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
delete .Trash in USB sticks
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 -- Murat D. Kadirov PGP fingerprint: 3081 EBFA 5CB9 BD24 4DB6 76EE 1B97 0A0E CEC0 6AA0 -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
delete .Trash in USB sticks
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"? -- Bob Holtzman If you think you're getting free lunch, check the price of the beer. Key ID: 8D549279 -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
delete .Trash in USB sticks
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);> -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
delete .Trash in USB sticks
On Sat, Oct 13, 2012 at 10:29:26AM +0600, Murat D. Kadirov wrote:
> 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. You may be right but I must say I have never heard that. Attribute? -- Bob Holtzman If you think you're getting free lunch, check the price of the beer. Key ID: 8D549279 -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
delete .Trash in USB sticks
On 14.10.2012 12:42, Robert Holtzman wrote:
On Sat, Oct 13, 2012 at 10:29:26AM +0600, Murat D. Kadirov wrote: 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. You may be right but I must say I have never heard that. Attribute? Yes, You're right, I'm wrong: $ mount | grep sdb1 /dev/sdb1 on /mnt type vfat (ro) $ rm -rf /mnt/test/ rm: cannot remove `/mnt/test': Read-only file system $ sudo rm -rf /mnt/test/ rm: cannot remove `/mnt/test': Read-only file system Remount rw. $ mount | grep sdb1 /dev/sdb1 on /mnt type vfat (rw) $ rm -rf /mnt/test/ rm: cannot remove `/mnt/test': Permission denied Sorry, mea culpa. -- Murat D. Kadirov PGP fingerprint: 3081 EBFA 5CB9 BD24 4DB6 76EE 1B97 0A0E CEC0 6AA0 * English - detected * English * Russian * English * Russian <javascript:void(0);> -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
| All times are GMT. The time now is 02:15 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.