Moderator: moderators
<input type="text" id="dir" readonly name="dir" size="37" value="${model.uploadDirectory}"/>
sindre_mehus wrote:Just for the record: Subsonic does not allow uploading to a directory outside the defined music folders.
And yes, I agree that having a fixed "incoming" directory is probably a good idea.
Cheers,
Sindre
pampelmusenmann wrote:Yes in deed, this would be an important feature, as tomcat runs as root on my machine![]()
To avoid changes by mistake, you can vim /usr/local/tomcat6/webapps/subsonic/WEB-INF/jsp/more.jsp, go to the bottom and change the input-field containing the default path like this:
- Code: Select all
<input type="text" id="dir" readonly name="dir" size="37" value="${model.uploadDirectory}"/>
This change does not prevent abuse!
Users browsing this forum: No registered users and 9 guests