Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linking/mouting a direcotry?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
abcdefg
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 216
Location: The Netherlands

PostPosted: Wed Jul 14, 2004 1:08 pm    Post subject: Linking/mouting a direcotry? Reply with quote

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
View user's profile Send private message
EliasP
Guru
Guru


Joined: 06 Dec 2002
Posts: 318
Location: South-West Germany

PostPosted: Wed Jul 14, 2004 1:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
abcdefg
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 216
Location: The Netherlands

PostPosted: Wed Jul 14, 2004 8:41 pm    Post subject: Reply with quote

Thanks, this works
David
Back to top
View user's profile Send private message
DarrenM
l33t
l33t


Joined: 25 Apr 2002
Posts: 653
Location: Sydney, Australia

PostPosted: Thu Jul 15, 2004 1:23 am    Post subject: Reply with quote

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
View user's profile Send private message
syadnom
Guru
Guru


Joined: 09 May 2002
Posts: 531

PostPosted: Sat Jul 17, 2004 7:40 pm    Post subject: 2 users, how about 3 Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum