Author Topic: Cannot Create a Symbolic Link  (Read 10120 times)

0 Members and 2 Guests are viewing this topic.

Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: Cannot Create a Symbolic Link
« Reply #15 on: September 30, 2014, 04:00:33 pm »
I ain't no linux genius but I'd advice you to use google....
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players

Offline Gudio

  • Street Thug
  • *
  • Posts: 22
    • View Profile
    • Gudio
Re: Cannot Create a Symbolic Link
« Reply #16 on: September 30, 2014, 04:07:21 pm »
What are you talking about?I've never heard of  SymLinksIfOwnerMatch and FollowSymLinks.

Quote from: Callum Crayshaw
I'm talking about hopes... dreams... the magic of television. Especially public television. [...]

Only root user can access to root's directory. Notice that your server probably uses www-data user with www-data group permission and I guess you're running apache - please read about SymLinksIfOwnerMatch and FollowSymLinks to understand why they are needed.
You have three methods suggested by me:

1) Move server files to for example /opt and don't run the server as root for security reasons*, then make a symbolic link to /opt instead of /root.
2) You can use cron to set simply task that will be executed every 15 mins which copies your server's database to your website directory, change permissions to www-data and is read-only. (more secure than the first method)
3) Use MySQL.

* - This refers to all options listed above.

Offline Honey.

  • Made Man
  • ***
  • Posts: 111
    • View Profile
Re: Cannot Create a Symbolic Link
« Reply #17 on: September 30, 2014, 06:32:56 pm »
Finally Its working :)

I've used Option 1 and now i changed my user to honey from root.Thank you gudio,thijn and Souly

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: Cannot Create a Symbolic Link
« Reply #18 on: September 30, 2014, 09:47:20 pm »
What are you talking about?I've never heard of  SymLinksIfOwnerMatch and FollowSymLinks.

RTFM. http://httpd.apache.org/docs/2.2/mod/core.html
Do not PM me for support.




Offline Honey.

  • Made Man
  • ***
  • Posts: 111
    • View Profile
Re: Cannot Create a Symbolic Link
« Reply #19 on: October 01, 2014, 01:21:28 pm »
The topic is already solved but thanks for link. Topic Locked.