D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Cannot delete files

 

mount should show "ro" as an option. Maybe try mount /dev/sdc -oremount,rw

Alternatively could there be a hardware lock forcing this to have happened?

On Sep 3, 2011 9:41 AM, "Henry Bremridge" <henry.bremridge@xxxxxxxxx> wrote:
> Trying to delete some files on an ogg player and can't
>
> Steps taken
>
> # mount -t vfat /dev/sdc nok
>
> # cd nok/T60/music
>
> # ls -laFh
> total 6.5M
> drwxr-xr-x 2 root root 24K Sep 3 09:25 ./
> drwxr-xr-x 7 root root 4.0K Jan 1 1970 ../
> -rwxr-xr-x 1 root root 1.7M Sep 3 07:53 Side14-24.ogg*
> -rwxr-xr-x 1 root root 2.3M Sep 3 07:53 Side14-25.ogg*
> -rwxr-xr-x 1 root root 1.8M Sep 3 07:53 Side15-01.ogg*
> -rwxr-xr-x 1 root root 776K Sep 3 07:53 Side15-02.ogg*
>
> # chmod +w *ogg
> chmod: changing permissions of `Side14-24.ogg': Read-only file system
> chmod: changing permissions of `Side14-25.ogg': Read-only file system
> chmod: changing permissions of `Side15-01.ogg': Read-only file system
> chmod: changing permissions of `Side15-02.ogg': Read-only file system
>
> # ls -laFh
> total 6.5M
> -rwxr-xr-x 1 root root 1.7M Sep 3 07:53 Side14-24.ogg*
> -rwxr-xr-x 1 root root 2.3M Sep 3 07:53 Side14-25.ogg*
> -rwxr-xr-x 1 root root 1.8M Sep 3 07:53 Side15-01.ogg*
> -rwxr-xr-x 1 root root 776K Sep 3 07:53 Side15-02.ogg*
>
> # rm -rf *ogg
>
> rm: cannot remove `Side14-24.ogg': Read-only file system
> rm: cannot remove `Side14-25.ogg': Read-only file system
> rm: cannot remove `Side15-01.ogg': Read-only file system
> rm: cannot remove `Side15-02.ogg': Read-only file system
>
> First time I have come across this problem, any help much appreciated
>
>
> --
> Henry
> Photocopies or faxes of my signature are not binding.
> This email has been signed with an electronic signature in accordance with subsection 7(3) of the Electronic Communications Act 2000.
> Digital Key Signature: GPG RSA 0xFB447AA1 or 0x3184D537
> Smime Fingerprint 98:24:AE:F7:D1:D6:E5:A0:F0:55:2F:40:42:5F:46:24:F9:52:f4:30
> Sat Sep 3 09:39:59 BST 2011
>
-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq