February 1, 201412 yr I am trying create the following symlink and am getting the following error: root@media:/boot/config/plugins/subsonic# ln -s /usr/bin/unrar /boot/config/plugins/subsonic/transcode/unrar ln: creating symbolic link `/boot/config/plugins/subsonic/transcode/unrar': Operation not permitted I want to do this so that I can get subsonic to play rar files without unpacking them. I have googled the error, and see that you cannot create symlinks on a FAT32 filesystem, which the flash drive uses. I just wanted to see if anyone was aware of any workarounds, or some other way I would be able to accomplish this. Thanks.
February 1, 201412 yr Create a shell script wrapper that calls the other program with $* #!/bin/bash exec /full/path/to/otherprogram $*
February 1, 201412 yr Author Awesome, this sounds like a good idea. So if I want a file called unrar placed in the /boot/config/plugins/subsonic/transcode directory to call /usr/bin/unrar I would #!/bin/bash exec /usr/bin/unrar $* and thats it?
February 1, 201412 yr Yes, or just copy the file into the directory and have two copies. you do have to make sure the script variants are executable with chmod a+x /boot/config/plugins/subsonic/transcode/unrar I do the shell script thing often with other platforms. Solaris in particular because gnu software exists in /usr/sfw/bin with various names to prevent collision with the sun variants.
February 1, 201412 yr Author Thanks man, I am going to try it shortly and i'll let you know how it worked. One thing I noticed, and I might be crazy, not sure, but I made the file and came back a little later and it was gone. Not sure how that happened, maybe I deleted it somehow but I dont think so. Anyway, its there so as soon as subsonic scans the dirs im gonna try it. Thanks a ton for your help.
Archived
This topic is now archived and is closed to further replies.