You are not logged in.

#1 2008-01-23 03:56:50

ljshap
Member
From: Ossining, NY
Registered: 2008-01-23
Posts: 160

[SOLVED] FSTAB and File Permissions

Hi Guru's

  I'm a new Arch user migrating from Ubuntu. 

  I have one hard drive partitioned as follows:

     SDA1     NTFS
     SDA2     / ext3
     SDA3     / swap
     SDA4     NTFS

   I also have a semi permanent USB Hard Drive and various other USB devices which seem to be mounting fine under autofs. When / if, I solve my fstab problem, I will look into Udev to  give these devices static names.

  My problem is that no matter what I try, I cannot make the two NTFS drives accessible by a normal user (me).  The following is from my current fstab file:


                /dev/sda1 /mnt/sda1 ntfs  rw,user,auto,uid=1000,gid=100,sync,umask=000     # my uid and the users group 
               /dev/sda4 /mnt/sda4  ntfs  rw,user,auto,uid=1000,gid=100,sync,umask=000

   This is one of dozens of combinations I have tried based on  research and "RTFM".   I just  keep getting more confused.  The directory entries show me as the owner, rw permissions and belonging to the user group, the only problem is that I can not write to those partitions as a normal user.

  Any suggestions would be greatly appreciated.

  Any suggestions for links that tie in how fstab, autofs, udev and hal work together.  I have seen links on all of them, but would like to see a brief overview on how they work together.  As you can see, I'm one of those linux noobs.  tongue

 

  Thanks
 
  Larry

Last edited by ljshap (2008-05-27 11:04:44)


Live Free or Die !

Offline

#2 2008-01-23 06:45:50

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: [SOLVED] FSTAB and File Permissions

Offline

#3 2008-01-23 15:12:01

ljshap
Member
From: Ossining, NY
Registered: 2008-01-23
Posts: 160

Re: [SOLVED] FSTAB and File Permissions

Hi luca,

  Thanks for the link.  I made the following changes:

   /dev/sda1  /mnt/sda1  ntfs-3g  users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_PH.utf8  0 0
   /dev/sda4  /mnt/sda4   ntfs-3g  users,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_PH.utf8         0 0

   Except for the locale, its working great.  I still have to mount sda1 as root, which is probably a good idea for the other OSes partition.  If I change it to auto it does mount automatically but thats flirting with danger 

   On to Udev


  Thanks Again

  Larry


Live Free or Die !

Offline

Board footer

Powered by FluxBB