I'm trying to wrapp my head arround symbolic links...
how to fix it ?
thnx
I have Netjuke configured to use folders on a second harddrive and some folders via a symbolic link to a folder outside the Netjuke Ibay.
My Netjuke install is per the HowTo by Swerts Knudsen:
http://sme.swerts-knudsen.dk/howtos/howto_8.htm My mp3's are in: /home/e-smith/files/ibays/netjuke/html/var/music
To use the second drive for Netjuke, I mounted it in /etc/fstab like:
/dev/hdb1 /home/e-smith/files/ibays/netjuke/html/var/music ext3 usrquota,grpquota 1 2
The symbolic I use is created as ~mounted in the /home/e-smith/files/ibays/netjuke/html/var/music folder. The link is pointing to my mp3 folder /mnt/mp3.
To be able to use this symbolic link with Netjuke installed in an I-Bay, the I-bay has to be configured to give scripts access to files stored outside the I-Bay folders. This is controlled by the PHP setting PHPBasedir for the SME I-Bay account 'netjuke'. To give your Netjuke install access to the folders outside the I-Bay folders, use the following commands:(in this case enable Netjuke to access the folders /tmp and /mnt):
/sbin/e-smith/db accounts setprop netjuke PHPBaseDir /home/e-smith/files/ibays/netjuke/:/tmp:/mnt/
To activate these settings, use:
/sbin/e-smith/signal-event ibay-modify netjuke
Sqlerror