LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cant access external HD as user, cant change permissions as root? (https://www.linuxquestions.org/questions/linux-software-2/cant-access-external-hd-as-user-cant-change-permissions-as-root-402463/)

Kramer 01-12-2006 09:11 AM

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

abisko00 01-12-2006 09:20 AM

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

Kramer 01-12-2006 09:32 AM

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?

Kramer 01-12-2006 02:56 PM

Bump, Ive tried everything, is there something simple Im missing?


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