Server rentals :: NFOservers.com

Forums

All times are UTC - 8 hours



Author Message
PostPosted: Fri Aug 19, 2011 11:53 pm 
Offline
This is my homepage
This is my homepage

Joined: Fri Sep 17, 2004 7:50 pm
Posts: 300
I did some research, found this useful little utility. Basically after setting up an FTP server I only wanted to set up 1 user for the FTP, but wanted to give that user access to any of the internal game files (like configs, maps, etc). It's pretty simple to use if you're comfortable with a command line, but basically it's called "junction" and it's distributed freely by microsoft on their technet.

It basically holds the same idea (and works with win2k or later) as UNIX symbolic links. Lets say I want to give access to team fortress 2 (the tf dir) and left 4 dead 2 (the left4dead2 dir) that would be linked from another folder, I would first create that empty folder (which I associate the FTP user/group with), then I would execute the following command with junction

Code:
junction.exe C:\freshfolder\teamfortress2 C:\path-to-tf-dir
junction.exe C:\freshfolder\left4dead2 C:\path-to-left4dead2-dir


That's it, now the user who's associated with that folder will see those folders in that dir and they'll point them directly to the folders you linked them to. You can always unlink them as well using the following.

Code:
junction.exe -d C:\freshfolder\teamfortress2
(and of course left4dead2 as well).

yes it does work similarly to the symbolic links in *nix systems, but it's "not quite the same".

Also a warning on downloading this, it downloaded for me as junction_zip, I renamed it to have the proper extension to be able to open it (not sure why it did this), just added .zip to the end, and then extracted where I wanted it.

http://technet.microsoft.com/en-us/sysi ... s/bb896768

Enjoy!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Bing [Bot] and 2 guests


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 post attachments in this forum

Search for:
It is currently Thu May 23, 2013 10:03 am
Powered by phpBB® Forum Software © phpBB Group