[opensuse] Cannot write to ext3 usb drive as normal user
Hello, I have a 250 GB ext usb drive for my laptop. When I plug it in it is recognized but normal user cannot write to it. The root user can, but not me as phil. How can I configure this for normal users to write the ext usb drive, please? Thank you, Phil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 9/3/08, Phil Savoie
Hello,
I have a 250 GB ext usb drive for my laptop. When I plug it in it is recognized but normal user cannot write to it. The root user can, but not me as phil. How can I configure this for normal users to write the ext usb drive, please?
Thank you,
Phil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi There will be several solutions to choose from. Some will involve command line work, other do not. I personally prefer command line work where I know how to do it, but that is a personal issue. I know 2 solutions: A short term solution: open a terminal, enter "su" and the root pw (1) enter: chmod a+w /path/to/mount/point (usually "/media/disk" if there is only one drive.) (2) Disadvantages: you have to do this every time you boot or re-install the harddisk a long term solution: check the "UUID's" for the disk, each partition has one. (the partition editer in yast can provide that, but not by default. If needed I will check how tonight. There are other ways) (3) make a folder for each partition. open a terminal, enter su and your root pwd enter "nano /etc/fstab" (4) enter the UUID and the folder where it should be mounted in /etc/fstab (with some option to be able to boot without the disk present. dunno wich one) in exacly the same format as the lines that are already there (except for the /dev/sd* part. The UUID should go there). (5) (1) to go to "super user", a sort of root (2) change the permissions on the mount point, a+w means "all + write" (3) UUID's are disk identifiers. They do not involve where the disk is exactly. You could pull the disk out of the enclosure and still use the same UUID's (4) Nano is a command line text editor (5) fstab is the File System TABle. It tells suse where to mount the file systems and what to do with them. There should be other solutions, and I do not think this really solves the problem, it merely provides a way around it. However I do not know how to solve the problem, and this is the best I can do (I have only be busy with Linux and BSD for about a year in total, and went back to XP for a couple of years in between). Neil -- There are three kinds of people: Those who can count, and those who cannot count ----------------------------------------------------------------------- ** Hi! I'm a signature virus! Copy me into your signature, please! ** ----------------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Tue, 02 Sep 2008, by psavoie1783@rogers.com:
Hello,
I have a 250 GB ext usb drive for my laptop. When I plug it in it is recognized but normal user cannot write to it. The root user can, but not me as phil. How can I configure this for normal users to write the ext usb drive, please?
I don't know how it's done with an auto-mounter, but normally a 'uid' and 'gid' option in fstab would be the answer. Set these to your own uid and gid (e.g. rw,uid=phil,gid=users ) and the drive will be mounted so you can read and write. See mount(1) /mount\ options\ for\ ext3 Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.3 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.22 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Neil
-
Phil Savoie
-
Theo v. Werkhoven