Solved

Write permissions to Hard drive and floppy

Posted on 2002-04-12
4
218 Views
Last Modified: 2013-12-15
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
Comment
Question by:haldrik
  • 2
  • 2
4 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 6938538
/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
 

Author Comment

by:haldrik
ID: 6940695
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
 

Author Comment

by:haldrik
ID: 6940966
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
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6941309
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now