View previous topic :: View next topic |
Author |
Message |
abcdefg Apprentice
Joined: 29 Feb 2004 Posts: 216 Location: The Netherlands
|
Posted: Wed Jul 14, 2004 1:08 pm Post subject: Linking/mouting a direcotry? |
|
|
Hi,
I have two users on my computer and both play enemy-territory. et downloads maps to ~/.etwolf/ but I want that both users use the same directory so the maps doesn't have to be downloaded twice.
If I could mount a directory I would do this
Code: | mount /home/user1/.etwolf /home/user2/.etwolf |
But thats inpossible, is there a way to do this?
Thanks,
David |
|
Back to top |
|
|
EliasP Guru
Joined: 06 Dec 2002 Posts: 318 Location: South-West Germany
|
Posted: Wed Jul 14, 2004 1:12 pm Post subject: |
|
|
1.) Create a group (e.g. etgame)
2.) Add all users you want to share the gamedata to this group
3.) chown -R /home/user1/.etwolf
4.) chmod -R g+rw /home/user1/.etwolf
5.) ln -s /home/user1/.etwolf /home/user2/.etwolf
Should work now.
Greetings
Elias P. |
|
Back to top |
|
|
abcdefg Apprentice
Joined: 29 Feb 2004 Posts: 216 Location: The Netherlands
|
Posted: Wed Jul 14, 2004 8:41 pm Post subject: |
|
|
Thanks, this works
David |
|
Back to top |
|
|
DarrenM l33t
Joined: 25 Apr 2002 Posts: 653 Location: Sydney, Australia
|
Posted: Thu Jul 15, 2004 1:23 am Post subject: |
|
|
Except they were probably both in the 'users' group already so all you had to do was make it group rwx then link it. |
|
Back to top |
|
|
syadnom Guru
Joined: 09 May 2002 Posts: 531
|
Posted: Sat Jul 17, 2004 7:40 pm Post subject: 2 users, how about 3 |
|
|
if you had 3 users, OR you wanted to make it a more logical fix, you could:
1) mkdir /opt/etwolf
2) chmod a+wrx /opt/etwolf
3) ln -s /opt/etwolf /home/user1/.etwolf
4) repeat for other users |
|
Back to top |
|
|
|