Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 14, 2011, 03:14 PM   #1
rolandoislas
macrumors newbie
 
Join Date: May 2011
Non User Specific Symbolic Link

I have been trying to create a non user specific symbolic link that points to ~/Library/Application Support.

I tried:
Code:
ln -s ~/Library/Application\ Support Drag\ Here\ to\ Install
This creates the symbolic link that works on my user, but when it is moved to another user it doesn't work. I thought I was creating it wrong, so I created one for the applications folder.
Code:
ln -s /Applications Drag\ Here\ to\ Install
The symbolic link for the Applications folder works. How can I get the first one to work without being user specific. Is this possible with a symbolic link? If not can somebody tell me of any other way I can achieve this.

Last edited by rolandoislas; May 14, 2011 at 06:12 PM.
rolandoislas is offline   0 Reply With Quote
Old May 14, 2011, 03:42 PM   #2
Hansr
macrumors 6502a
 
Join Date: Apr 2007
Symbolic links are always hardcoded, ~ will always be translated to /Users/YOU/ when creating them. What are you trying to accomplish precisely?
Hansr is offline   0 Reply With Quote
Old May 14, 2011, 03:55 PM   #3
rolandoislas
Thread Starter
macrumors newbie
 
Join Date: May 2011
Quote:
Originally Posted by Hansr View Post
Symbolic links are always hardcoded, ~ will always be translated to /Users/YOU/ when creating them. What are you trying to accomplish precisely?
I have created a dmg that contains files that must be placed in the users Application Support folder. I would like the symbolic link there so that the user can just drag the folder onto the link instead of going to ~/Library/Application Support.

I have tried using an installer package to accomplish this , but I cant seem to get it to install the files to "Application Support"
rolandoislas is offline   0 Reply With Quote
Old May 14, 2011, 04:43 PM   #4
Sydde
macrumors 68000
 
Sydde's Avatar
 
Join Date: Aug 2009
Perhaps you could whip out a quick little app that does the job? Just something that takes dropped files (perhaps verifying that those are the right files) and puts them where you need them?
__________________
You got to be a spirit. You can't be no ghost.
Sydde is offline   0 Reply With Quote
Old May 14, 2011, 06:11 PM   #5
rolandoislas
Thread Starter
macrumors newbie
 
Join Date: May 2011
I decided to go with the package installer. It doesn't have the convenience of drag and drop like a symbolic link would, but it gets the job done.
rolandoislas is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Can no longer symbolic link user library folders in Mavericks Demigod Mac OS X Mavericks (10.9) 9 Feb 11, 2014 06:27 PM
Tweetbot - specific user notifications Aluminum213 iPad Apps 6 Sep 2, 2013 10:27 AM
Anyone know if it is possible to create a symbolic link to a folder within a package? pruppert OS X 10.8 Mountain Lion 2 Apr 27, 2013 05:10 PM
Repairing symbolic link with 2 HD set up after HD swap robcommon Mac Basics and Help 3 Mar 14, 2013 07:53 PM
Reminders not working when ~/Library/Calendars is symbolic link kubaw OS X 10.8 Mountain Lion 1 Aug 14, 2012 04:53 PM

Forum Jump

All times are GMT -5. The time now is 01:41 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC