[Klug-general] Memory Stick

Jeremy Hooks jeremyhooks at googlemail.com
Wed Nov 19 16:33:30 UTC 2008


2008/11/16 rich-ayres at tiscali.co.uk <rich-ayres at tiscali.co.uk>:
> Also reformatting failed as device is read only

That's a bit of an odd one - were you definitely root (or sudoing)
when you tried the reformat?

Nathan's fsck suggestion is interesting - though he doesn't mention
why you might want to use it.  As you say one stick was ext2
formatted, presumably if it wasn't cleanly unmounted (e.g. just pulled
out), it could be marked dirty and then would only be mounted
read-only by default until it was checked.  I'm not sure if this would
affect the other (presumably vfat) stick.  I have a vague recollection
that this may be related to the sixth field of the fstab.

What Wayne said about your 666 permissions is spot on, presumably this
is something you did after your problems started, so obviously is the
cause, but it probably made things worse.  BTW a good way to add
execute/search permissions to a number of directories is - find ./
-type d -exec chmod u+x {} ';'  (this find all files of type 'd'
(directories) and executes the command chmod u+x)



More information about the Kent mailing list