Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 14, 2011, 02: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 05:12 PM.
rolandoislas is offline   0 Reply With Quote
Old May 14, 2011, 02: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, 02: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, 03: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 online now   0 Reply With Quote
Old May 14, 2011, 05: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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Move entire user folder to data drive, or symbolic link? laser71 MacBook Pro 1 Mar 16, 2011 05:31 PM
Symbolic Link and Wine Noob questions Giovani. Mac Basics and Help 1 Apr 23, 2008 12:33 AM
Create Symbolic Link PNW OS X 2 Nov 21, 2007 04:52 PM
Time Machine and symbolic links scott182 OS X 0 Nov 5, 2007 05:04 PM
creating a symbolic link from 'Movies' folder to another folder? cb911 Mac Applications and Mac App Store 4 Jun 19, 2004 11:25 PM


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

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

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