Page 1 of 1

Bug report: java.lang.SecurityException: Access denied to fi

PostPosted: Fri Feb 17, 2006 4:06 pm
by lc
This bug happens when the music folder contains subdirectories that are symlinks
to other directories outside the main music folder.
i.e. music folder is /music, but /music/Goa points to /data2/music/Goa thus the files are not readable and the securityexception is thrown.

subsonic version 2.5
apache tomcat 5.5 under unix

PostPosted: Mon Feb 20, 2006 1:06 pm
by sindre_mehus
Hi,

This is due to some rather strict checking that no files outside the music folder are accessible.
I'll consider relaxing it a bit so that symlinks are allowed.

Thx, Sindre

also within same directory structure

PostPosted: Mon May 15, 2006 8:52 pm
by anonymouss
sindre_mehus wrote:This is due to some rather strict checking that no files outside the music folder are accessible.


Hi Sindre,

this actually also happens if the symlink points to within the top level music directory!

Best wishes!