InMotion Hosting Support Center

jquery.js and symbolic links


edwardsmarkf
Asked:
2011-11-17 7:08 pm EST

Hits: 9,304

hello all -

i have dozens of jquery.js scripts scattered throughout my server.

i thought life would be wonderful if i could have just one jquery.js file, maybe at:

/usr/local/lib/jquery/jquery.js

and instead of the jquery.js in dozens of different places, i could just have a symbolic link in place of every jquery.js:

jquery.js -> /usr/local/lib/jquery/jquery.js

however, i don't know what to set "chown" to. i hoped "root:nobody" would work but it does not, and neither does "nobody:nobody" - the only way it seems to work is if i set it to one specific user - which makes this method not work as desired.

ideas?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by InMotion Hosting staff

0

Tim S.
Staff
9,967 Points
2011-11-18 9:14 am EST
Hi edwardsmarkf,

Thanks for posting your question. I'm more than happy to assist you. I would suggest trying to set the ownership to root:root and then the file permissions to 0644. This will allow the "world" to read the file. I hope this helps!

If you need further assistance please feel free to contact us.

Thanks!

Tim S

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Social Media Login

   
Social Login Joomla

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!