Permission Denied on file upload in subsonic (RESOLVED)

Need help? Post your questions here.

Moderator: moderators

Permission Denied on file upload in subsonic (RESOLVED)

Postby rhodyne » Wed Dec 13, 2006 5:32 am

Love this program - I use it on another box (FC6 with manual JDK loads) and it covers most of the parts I'm interested in.

But right now I'm getting - "Permission denied: /data/music/Incoming/testfile.zip" when trying to upload a zip into it.

It is a Gentoo 2006.1 system - bare - no X. Has JDK 1.5 and Tomcat 5.5 running with out errors. I've created folders on a fresh formatted drive at /data/music. All subfolders and files in them are chown'd by tomcat:tomcat and - much as I cringe because of security issues .. :oops: .. I set all subs in /data/music as 777 - full permissions. but nothing changes the updoad error.

Below are the tail entries from the log window in subsonic.

Code: Select all
[12/13/06 4:56:41 AM GMT]    INFO   DaoHelper   Checking database schema.
[12/13/06 4:56:42 AM GMT]    INFO   DaoHelper   Done checking database schema.
[12/13/06 4:56:43 AM GMT]    INFO   SearchService   Automatic index creation scheduled to run every 1 day(s), starting at Thu Dec 14 03:00:00 GMT 2006
[12/13/06 4:58:35 AM GMT]    INFO   VersionService   Resolved latest Subsonic final version to: 2.9
[12/13/06 4:58:35 AM GMT]    INFO   VersionService   Resolved latest Subsonic beta version to: 2.9.beta1
[12/13/06 4:58:35 AM GMT]    INFO   VersionService   Resolved local Subsonic version to: 2.9
[12/13/06 4:59:20 AM GMT]    INFO   SearchService   Starting to create search index.
[12/13/06 4:59:20 AM GMT]    INFO   SearchService   Created search index with 0 entries.
[12/13/06 5:00:22 AM GMT]    WARN   UploadController   Uploading failed.
[12/13/06 5:00:22 AM GMT]    INFO   SecurityService   Updated user carln
[12/13/06 5:04:31 AM GMT]    WARN   UploadController   Uploading failed.
[12/13/06 5:04:31 AM GMT]    INFO   SecurityService   Updated user carln
[12/13/06 5:08:40 AM GMT]    WARN   UploadController   Uploading failed.
[12/13/06 5:08:40 AM GMT]    INFO   SecurityService   Updated user carln


I've also moved some files in place manually and set their permissions the same. They don't show anywhere in subsonic. The other system was very dynamic - make a change in the backend - the frontend found it in just a few seconds to minutes.


Now I'm stumped :o and looking for help from other directions. If you want any info, let me know, it just could take a while to answer.
Last edited by rhodyne on Thu Dec 14, 2006 2:36 am, edited 1 time in total.
rhodyne
 
Posts: 2
Joined: Wed Dec 13, 2006 5:08 am

Postby rhodyne » Thu Dec 14, 2006 2:34 am

...nervermind

Found that I had set the /data/music sub-directories with owner:user of tomcat but not the base /data/music directory itself

resolved.

Now there's something different but I'll post new if I can't find it.
rhodyne
 
Posts: 2
Joined: Wed Dec 13, 2006 5:08 am


Return to Help

Who is online

Users browsing this forum: No registered users and 26 guests