Results 1 to 4 of 4

Thread: Partition permissions...

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Posts
    1

    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.

  2. #2
    Junior Member
    Join Date
    Sep 2003
    Posts
    6
    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.

  3. #3
    Junior Member
    Join Date
    Sep 2003
    Posts
    2

    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

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    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.)

    Quote 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

  1. Permissions
    By w5uc in forum MS Windows & New to Linux
    Replies: 4
    Last Post: 05-01-2005, 08:18 PM
  2. fscked permissions?
    By n01mportant in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 03-14-2005, 10:27 PM
  3. KDE permissions and user permissions!!!
    By newiaqua in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 12-26-2004, 07:49 PM
  4. n00bquestion: HDD-partition-permissions?
    By dragonlord in forum General Support
    Replies: 1
    Last Post: 10-26-2004, 04:36 AM
  5. change permissions
    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
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1299.99



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$375.00



IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012 picture

IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012

$109.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU picture

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU

$999.99



IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1) picture

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)

$150.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$110.30



IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS picture

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS

$80.00



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR

$1100.00