LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2012, 03:05 AM   #1
Glenn D.
Member
 
Registered: May 2009
Location: ACT - Australia
Distribution: Opensuse x86_64 (Latest)
Posts: 114

Rep: Reputation: 16
How can external disk be mounted so a ordinary user can write to the disk


Hello,
I have an external drive formatted and attached at bootup.
The /etc/fstab entry is this:
/dev/sdb1 /media/disk reiserfs acl,user_xattr 1 2

The problem is that a ordinary user cannot write to the disk , only root can.
I am using opensuse 12.1.

Questions.
-How can the disk be mounted so a ordinary user can write to the disk ?
-What commands do I need to run to to do this, examples would be useful ?

Thanks Glenn
 
Old 10-06-2012, 03:32 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,613

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
Glenn D,

Hi,
Try change the fstab entry and see if it works to your intent. This way--

/dev/sdb1 /media/disk reiserfs noatime,rw,user,exec,auto 1 1

By the way, if still it doesn't work try make the users member to group "plugdev"
and chmod -R 777 /media/disk.

Hope that helps. Goodluck.

m.m.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW-TO allow normal users to write on NTFS external hard disk? xirtyllo Slackware 3 12-04-2010 11:46 PM
mounting disk with an ordinary user randuwe Slackware 5 10-11-2009 11:15 AM
USB External Hard Disk cannot be mounted csvke Linux - Hardware 7 10-10-2008 04:59 AM
External USB hard disk wont allow user to write, vfat FS scm86 Linux - Hardware 3 09-06-2005 02:05 AM
New external disk; user cannot write Regulus Linux - Hardware 1 07-08-2005 06:40 PM


All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration