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 ...
- 12-30-2006 #1Just 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.
- 12-31-2006 #2Just Joined!
- Join Date
- May 2006
- Location
- West Palm Beach, Florida
- Posts
- 62
chmod command maybe might help.
man chmod if you need help.
- 12-31-2006 #3
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.
- 12-31-2006 #4Just 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
- 01-01-2007 #5
You can't change the permissions on a symlink. I guess what you're looking for is a hard link.
- 01-01-2007 #6set 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.
Originally Posted by wcr3d
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
