Results 1 to 4 of 4

Thread: Partition permissions...

Hybrid View

  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
  •  


2-Bay/4-Bay Hard Drive Enclosure for 3.5

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2

$75.99



Glyph StudioRAID 28TB External RAID Hard Drive Thunderbolt 2 USB 3.0 7200RPM picture

Glyph StudioRAID 28TB External RAID Hard Drive Thunderbolt 2 USB 3.0 7200RPM

$300.00



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD picture

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD

$265.00



OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2  for Dual 3.5 inch HDDs picture

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs

$87.99



WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure picture

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure

$119.99



Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV picture

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV

$18.95



Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5

Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array

$55.00



IntelĀ® Integrated RAID Mezzanine Module RMS3HC080 SAS/SATA H24093-204 picture

IntelĀ® Integrated RAID Mezzanine Module RMS3HC080 SAS/SATA H24093-204

$24.97



Adaptec ASR-71605 16-Port 1Gbps PCIe RAID Card High Profile picture

Adaptec ASR-71605 16-Port 1Gbps PCIe RAID Card High Profile

$18.49