Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
symlink question
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
simcop2387
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 200
Location: Galactic Sector ZZ9 Plural Z Alpha

PostPosted: Thu Sep 12, 2002 10:39 pm    Post subject: symlink question Reply with quote

is there anyway one could make a symlink (or something like that) point to a different place for different users?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Sep 12, 2002 10:48 pm    Post subject: Reply with quote

Could you explain a bit more of what you are trying to accomplish?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
simcop2387
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 200
Location: Galactic Sector ZZ9 Plural Z Alpha

PostPosted: Thu Sep 12, 2002 11:47 pm    Post subject: Reply with quote

sorry i didnt explain more,

ok i've got a /pub that i've got shared with samba, in it i've got a mame32 directory for all the windows boxes to play the arcade roms i've got, but anyway i'd like to have the config directory in there point to maybe to a config directory the users home directory, i have no idea if this is possible, more likely to not be than to be. this is what i'd want to do maybe
Code:

ln -s "~/mameconf" config

but i know that, that wont work cuz it'll just point it into the "~" directory in the place i do that

Visual Explination
Code:

/pub/mame32/conf -> /home/$USERNAME/mameconf/
Back to top
View user's profile Send private message
sa
Guru
Guru


Joined: 10 Jun 2002
Posts: 450

PostPosted: Fri Sep 13, 2002 11:03 pm    Post subject: Reply with quote

how bout:
% cd ~
% ln -s /pub/mame32/conf mameconf
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Sat Sep 14, 2002 4:38 am    Post subject: Reply with quote

I believe samba can do what you want. Try the samba documentation, esp. "Variable Substitutions".
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
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