Am 2007-11-07 13:42:57, schrieb Haines Brown:
> I have a SamDisk USB-key filled with photos (.png) which I used for a
> slide show. I now would like to delete them, but whenever the device
> is rebooted, the files reappear.
>
> $ ls -la /media/usb-key
> rwxr-xr-x file.png /brownh/brownh
> ...
Hmmm
> However, if I unmount and remount, the files are back (and shown in
> green in xterm, which is not normal).
^^^^^^^^^^^^^^
Oh yes, it is normal, siche your USB-Key has a MSDOS filesysten
which mean, the executable (under dos/Win ARCHIVE) flag is set...
> $ shred -fuv /media/usb-key *.*
> shred: /media/usb-key/<filename>: pass 1/25 (random)...
> shred: /media/usb-key/<filename> : fdatasync failed:
> Input/output error
> shred: /media/usb-key/<filename>: pass 2/25 (888888)...
> shred: /media/usb-key/<filename>: fdatasync failed:
> Input/output error
You must mount the USB-Key with the right UID/GID...
Thanks, Greetings and nice Day
Michelle Konzack
Tamay Dogan Network
Open Hardware Developer
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature