LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-02-2010, 04:59 PM   #1
VerizonLover
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
Question Trouble with mount points


I seem to be having a problem...

Whenever I try to write to any of the below mentioned file systems, I get "permission denied."

How do I fix this? The portion of the fstab for the filesystems in question is:

Code:
dev/sda9     /opt     ext4     user,noauto,noacl     0 0
/dev/sda6     /usr/local     ext4     user,noauto,noacl     0 0
/dev/sda10     /usr/src     ext4     user,noauto,noacl,exec     0 0
/dev/sdf1     /mnt/hd2     ext4     user,noauto,noacl     0 0
and as for the permissions:

Code:
drwxr-xr-x   2 root root  4096 2010-10-25 03:50 opt
drwxr-xr-x   2 root root   4096 2010-10-25 03:50 local
drwsr-sr-x   2 root users  4096 2010-11-02 13:17 src
drwxr-sr-x 2 root root 4096 2010-10-25 17:36 /mnt/hd2
And yes, I've tried setting the setuid/setgid bits and using the 'suid' fstab option, with no luck.

As for KDE, k3b pops up a message saying "No optical drive found." But when I insert a CD, it properly shows up.

Also, I can't get KDE to recognize any insert external usb storage. Yes, hal and udev are installed...

Any suggestions?

Last edited by VerizonLover; 11-02-2010 at 05:02 PM.
 
Old 11-02-2010, 05:54 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
You are trying to write a file as root, right?
 
Old 11-02-2010, 06:09 PM   #3
VerizonLover
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
You are trying to write a file as root, right?
No, I am trying to make it so I can write to the drive and execute files as a normal user. Of course I can do it as root.
 
Old 11-02-2010, 06:43 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
chown the directories/files to your normal user, then. Or (more safely) add the normal user to the root group and add group write permissions to the folders. Why were you expecting to be able to write as a normal user?
 
Old 11-02-2010, 06:48 PM   #5
VerizonLover
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
chown the directories/files to your normal user, then. Or (more safely) add the normal user to the root group and add group write permissions to the folders. Why were you expecting to be able to write as a normal user?

I tried....that didn't work
 
Old 11-05-2010, 01:28 PM   #6
raviteja_s
Member
 
Registered: Jun 2010
Location: India
Distribution: Redhat
Posts: 68

Rep: Reputation: 1
try with acl..
 
  


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
mount points WebGraphics Slackware 4 09-27-2007 01:01 AM
mount one device to two mount points secretlydead Linux - General 3 03-28-2007 06:30 AM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 06:48 AM
Mount Points? Mr_Floppy4 Linux - General 2 10-14-2002 11:03 PM
mount points... Jeffrey Linux - General 6 02-24-2001 01:09 PM


All times are GMT -5. The time now is 04:21 AM.

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