Find the answer to your Linux question:
Results 1 to 3 of 3
How can I give /mnt/windrive root only priveleges then remount a directory from /mnt/windrive to somewhere else for a specific user. This is what I've had to do so that ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2006
    Location
    Dover, DE
    Posts
    112

    fstab setup



    How can I give /mnt/windrive root only priveleges then remount a directory from /mnt/windrive to somewhere else for a specific user.
    This is what I've had to do so that user jonandtice (1000) can have proper access. I don't know if that's clear enough but this is my fstab.

    Code:
    # <file system> <mount point>    <type>  <options>       <dump>  <pass>
    proc                    /proc                     proc       defaults        0       0
    /dev/hda2          /                             ext3       defaults,errors=remount-ro 0       1
    /dev/hda6          /home                   ext3       defaults        0       2
    /dev/hda5           none                    swap     sw              0       0
    /dev/hdc             /media/cdrom0   iso9660 ro,user,noauto  0       0
    /dev/fd0              /media/floppy0   auto       rw,user,noauto  0       0
    /dev/hda1	   /mnt/windrive      vfat         defaults,uid=1000,gid=1000 0	3
    /mnt/windrive/My\040Music   /home/jonandtice/my-music  none  bind   0	4

  2. #2
    Linux Newbie
    Join Date
    Feb 2006
    Location
    Dover, DE
    Posts
    112
    I still haven't figured it out.

  3. #3
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    This is my entry for fstab for my extra hard drive formatted in fat32.

    Code:
    /dev/hdb1               /mnt/music       vfat            umask=0000,auto,users  0 0
    This partition is mounted at boot, and I can access it with my regular user.
    Note: If you haven't already done so, you will need to
    Code:
    mkdir /mnt/windrive
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •