Find the answer to your Linux question:
Results 1 to 6 of 6
Hello, I have 3 other hard drives in my pc. I was wanting to know the best way to give users access to directories on them drives. Any help would ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    2

    Mapping directories


    Hello,
    I have 3 other hard drives in my pc. I was wanting to know the best way to give users access to directories on them drives. Any help would be appreciated.

  2. #2
    Just Joined!
    Join Date
    May 2006
    Location
    West Palm Beach, Florida
    Posts
    62
    chmod command maybe might help.

    man chmod if you need help.

  3. #3
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    You need to make sure they are mounted. I suggest you make symlinks to each of the drives in the user's home directories. Then chmod will let you set the permissions.

  4. #4
    Just Joined!
    Join Date
    Dec 2006
    Posts
    2
    Ok, I have tried this....
    ln -s /mnt/directory /home/user/Desktop/directory
    chown user:user /home/user/Desktop/directory
    There was no error return on the command but also no change in ownership.
    When you log on as the user and try the symlink it says the file/folder doesn't exist.
    I tested that it was truly mounted.
    Thank you

  5. #5
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    You can't change the permissions on a symlink. I guess what you're looking for is a hard link.

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by wcr3d
    I have 3 other hard drives in my pc. I was wanting to know the best way to give users access to directories on them drives. Any help would be appreciated.
    set umask=0 for other disk's partitions in /etc/fstab file and create symlinks as suggested by likwid. umask=0 enables read/write access for all users.





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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