LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-12-2006, 09:11 AM   #1
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
Cant access external HD as user, cant change permissions as root?


Ive got an external HD connected through USB 2.0, and I cant access it as a user. I can access it as root however. I tried changing the permissions for the disk as root, and it tells me that I dont have enough permissions to change the permissions, even as root. Thats pretty screwed up. Anyway, my question is how do I change it? Here is my fstab

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda5 / ext3 noatime 1 1
/dev/hda7 /home ext3 noatime 1 2
/dev/hdc /mnt/cdrom auto umask=0022,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hda1 /mnt/windows ntfs umask=0022,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0
/dev/sda1 /mnt/RAID0 ntfs umask=0022,nls=iso8859-1,ro 0 0
 
Old 01-12-2006, 09:20 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
I suggest two things:

1. change permission of the mountpoint (when the device is not mounted):
chown root:users ../usbdisk
chmod 775 ../usbdisk

(change "users" to a group your user is a member of and "../usbdisk" to your mountpoint)
2. change umask=0022 of the respective entry in /etc/fstab to umask=0000
 
Old 01-12-2006, 09:32 AM   #3
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by abisko00
I suggest two things:

1. change permission of the mountpoint (when the device is not mounted):
chown root:users ../usbdisk
chmod 775 ../usbdisk

(change "users" to a group your user is a member of and "../usbdisk" to your mountpoint)
2. change umask=0022 of the respective entry in /etc/fstab to umask=0000
No dice. Any other ideas?
 
Old 01-12-2006, 02:56 PM   #4
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Bump, Ive tried everything, is there something simple Im missing?
 
  


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
Cannot change permissions as root??? Kramer Linux - General 2 08-24-2005 07:31 AM
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 09:59 AM
External USB disks --access as USER not ROOT 1kyle Linux - Hardware 4 10-31-2004 01:55 PM
External Hard Drive --No Access as USER only ROOT (10.1) 1kyle Mandriva 1 10-31-2004 09:09 AM
Change my user to root permissions metalaid Linux - Newbie 5 01-19-2004 08:17 PM


All times are GMT -5. The time now is 11:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration