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

Need help? Post your questions here.

Moderator: moderators

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

Postby lc » Fri Feb 17, 2006 4:06 pm

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
lc
 

Postby sindre_mehus » Mon Feb 20, 2006 1:06 pm

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
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

also within same directory structure

Postby anonymouss » Mon May 15, 2006 8:52 pm

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!
anonymouss
 


Return to Help

Who is online

Users browsing this forum: No registered users and 19 guests