[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Flash Drive suddenly read only?

On 2021-01-31 at 07:30, kaye n wrote:

> On Sun, Jan 31, 2021 at 5:20 PM <tomas@tuxteam.de> wrote:
>> On Sat, Jan 30, 2021 at 11:27:52PM -0700, Charles Curley wrote:

>>> Are the files marked read only (ro), or is the entire flash
>>> drive mounted ro?
> The dbf files seem to be READ WRITE EXECUTE for OWNER, GROUP, and

What do the following commands say (substituting in the actual paths to
the file and the mount directory of the USB drive)?

$ ls -lh /path/to/file.dbf

$ mount | grep /path/to/mount/directory

>>> How, exactly, are you mounting the flash drive under Linux. What 
>>> command?
> I just insert the flash drive to the desktop computer and it mounts
> and is ready for use.

So any of a number of mechanisms could be handling this, and IIRC at
least some of them may not actually present the drive as mounted at all
(I believe I'm thinking of gvfs, there) - in which case the latter of
the above commands may not present any useful information.

>> What do the logs say? /var/log/syslog, or .../messages?
> I fail to open it

Try doing it as root. You might also try running the command 'dmesg',
also as root; that's likely to present a lot more information, although
if you do it right after the change to read-only has happened then the
relevant part (if any) is likely to be in the final few lines.

   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: