Jump to content

Hard drive read only


hanes
 Share

Recommended Posts

I have a drive, /dev/sda1 that I mount as /mnt/data (fat32), this drive has worked for a long time, now all of a sudden it is read only for everyone but root. Windows can write to it just fine...

 

I can chown it to the right user, every time I try to mount it right (with umask=0) I still can't get regular users to write to it. Anyone know whats going on?

 

Hanez

Link to comment
Share on other sites

GNU nano 1.3.8 File: /etc/fstab

 

# This file is edited by fstab-sync - see 'man fstab-sync' for details

/dev/hda1 / ext3 defaults 1 1

/dev/hda6 /home ext3 defaults 1 2

/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,sync,codepage=850,noauto,ro,exec,users 0 0

/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0

/dev/sda1 /mnt/data vfat umask=0,iocharset=iso8859-1,codepage=850 0 0

none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0

/dev/hdb1 /mnt/win_c ntfs umask=0,nls=iso8859-1,ro 0 0

none /proc proc defaults 0 0

/dev/hda5 swap swap defaults 0 0

Link to comment
Share on other sites

This is my entry for mine:

 

/dev/sda1	   /mnt/removable  auto			user,noauto			 0 0

 

auto defines detection of the filesystem, so if you change it from FAT32, then it will automatically mount it, without you having to change the fstab file. The user setting allows me to access as a standard user, and noauto means it won't attempt to mount it automatically when the system is booted, since the disk might not be connected. This should work perfectly fine for you.

 

Yours is missing the "user" entry, so this could be your problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...