-
Partition permissions...
Hi everyone, this is my first post and I'm relatively new to Linux. I did a HD install from the knoppix cd (knoppix-installer) and all went well. There is one thing that is confusing me though. I created a user (during install) named buck. I have an NTFS partition where Win2k Pro resides. User buck is in the users group. However, if I have this line in /etc/fstab...
/dev/hda1 /mnt/hda1 ntfs auto,users,exec,ro 0 0
I cannot access this partition as buck, only as root. I get a permission denied. However, if I change it to...
/dev/hda /mnt/hda1 ntfs auto,users,exec,ro,uid=buck,gid=buck 0 0
I can access it just fine. I thought that, since buck is definitely in the users group, I should not have to specify uid and gid, the fact that users is specified should allow all users access, right? I'm only concerned because if, and when, additional users are added the /etc/fstab file could get a little hairy with the way it is currently working.
Any ideas, or corrections in my thinking, are greatly appreciated. Thanks for the help.
-
Try
/dev/hda1 /mnt/hda1 ntfs user,defaults,auto 0 0
I'm not at all sure if it works, but I just tested that with those options I can mount/umount partitions and with different users.
But of course only root or the user that mounted the partition, can unmount it.
-
Ditto
I am experiencing exactly the same thing. Any help with this would be cool. This is my first LINUX install so consider a complete Newb. It's taken me an hour or two just to fiqure out this fstab configuration malarky.
Cheers
Mr Wonka
-
Senior Member
registered user
Re: Partition permissions...
--Since it's read-only it doesn't matter, but with the uid and gid set, I think *only* buck (and root) can access the mount. Try adding buck to group "disk" instead.
(' ls -al /dev/hda ' for the ownership clue.)

Originally Posted by
buckinpgh
Hi everyone, this is my first post and I'm relatively new to Linux. I did a HD install from the knoppix cd (knoppix-installer) and all went well. There is one thing that is confusing me though. I created a user (during install) named buck. I have an NTFS partition where Win2k Pro resides. User buck is in the users group. However, if I have this line in /etc/fstab...
/dev/hda1 /mnt/hda1 ntfs auto,users,exec,ro 0 0
I cannot access this partition as buck, only as root. I get a permission denied. However, if I change it to...
/dev/hda /mnt/hda1 ntfs auto,users,exec,ro,uid=buck,gid=buck 0 0
I can access it just fine. I thought that, since buck is definitely in the users group, I should not have to specify uid and gid, the fact that users is specified should allow all users access, right? I'm only concerned because if, and when, additional users are added the /etc/fstab file could get a little hairy with the way it is currently working.
Any ideas, or corrections in my thinking, are greatly appreciated. Thanks for the help.
Similar Threads
-
By w5uc in forum MS Windows & New to Linux
Replies: 4
Last Post: 05-01-2005, 08:18 PM
-
By n01mportant in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 03-14-2005, 10:27 PM
-
By newiaqua in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 12-26-2004, 07:49 PM
-
By dragonlord in forum General Support
Replies: 1
Last Post: 10-26-2004, 04:36 AM
-
By tony177 in forum General Support
Replies: 4
Last Post: 06-22-2004, 10:40 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD
$119.99

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working
$149.99

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB
$149.99

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER
$1499.97

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays
$799.99

LOT (8) Cisco UCS UCSB-B200-M5 2x6248R 24 core 3.0G 24x64g DDR4-2933 ram
$112000.00

Cisco B200 M3 2x E5-2670V2 10 Core 8x 16GB-128GB Ram Blade Server VIC1240 14900R
$399.00

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR
$96.60

Dell Poweredge VRTX 25Bay 2.5" 2x PERC 8, 2xCMC, I/O 1GB Pass Through, 4x PS
$578.08