Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

Write permissions to Hard drive and floppy

Hello Everyone:
I have a simple problem. I need non-root users to have full read/write access to all my local hard drives, my ls-120 "super" floppy, and my compactflash reader (sda1). Currently, everyone can read but only root can write.
I tried to change my fstab file options in each line to "users" instead of "defaults" and , you guessed it, I wasn't able to boot up normally any more!!!!
If the problem is in the fstab file, please let me know exactly what each line should say! Thanks!
My fstab file looks like this:
/dev/hda1 / ext 2 defualts 1 1
none /dev/pts devpts mode-0620 0 0
none /dev/sbm tmpfs defaults 0 0
/dev/hda5 /home ext2 defaults 1 2
/mnt/cdrom /mnt cdrom supermount dev=/dev/hdc .....
/mnt/floppy /mnt/floppy supermoutn dev=/dev/hdd,fs=supermount
/dev/hda6 /mnt/win_c vfat defaults 0 0
/dev hdb1 /mnt/win_c2 vfat defaults 0 0
/dev/sda1 /mnt/win_c3 vfat defaults 0 0 (this is the compactflash reader)
none /proc proc defaults 0 0
/dev/hda7 swap swap defaults 0 0

0
haldrik
Asked:
haldrik
  • 2
  • 2
1 Solution
 
ahoffmannCommented:
/mnt/floppy /mnt/floppy supermoutn dev=/dev/hdd,fs=supermount,rw,user,exec
# not shure what the other option you specified should do
/dev/sda1 /mnt/win_c3 vfat rw,user,exec 0 0
0
 
haldrikAuthor Commented:
Well, I changed my fstab file and I'm still unable as a non-root login to write to floppy, sda1, or any win partition, although the lines you gave me for the fstab file above do allow me now to mount and unmount the drives as a non-root user. Maybe I need to do a chmod command on the drive? (Not sure how to do that either, of course).
0
 
haldrikAuthor Commented:
Ooops...I take that last statement back...actually, it worked fine after I rebooted (not sure why that would make a difference, but hey, it works so I'm not complaining!)
0
 
ahoffmannCommented:
reboot should not be necessary (this is not M$ ;-)
But oing a unmount (probably with -f), and then mount again might be wise.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now