Access Denied to d:\subsonic\podcasts

Need help? Post your questions here.

Moderator: moderators

Access Denied to d:\subsonic\podcasts

Postby bluetooth » Fri Mar 20, 2009 1:12 pm

Here is the log. Any help is appreciated. Yes, the podcasts folder is shared. In fact - sometimes it works.

-----------------------------------------------------------
Exception java.lang.SecurityException
Message Access denied to file d:\subsonic\podcasts
Java version Sun Microsystems Inc. 1.6.0_12
Operating system Windows Vista 6.0
Server jetty-6.1.x
Memory Used 44 of 63 MB
Stack trace java.lang.SecurityException: Access denied to file d:\subsonic\podcasts at net.sourceforge.subsonic.service.MusicFileService.getMusicFile(MusicFileService.java:69) at net.sourceforge.subsonic.domain.MusicFile.createMusicFile(MusicFile.java:335) at net.sourceforge.subsonic.domain.MusicFile.getParent(MusicFile.java:246) at net.sourceforge.subsonic.domain.MetaDataParser.guessArtist(MetaDataParser.java:105) at net.sourceforge.subsonic.domain.DefaultMetaDataParser.getRawMetaData(DefaultMetaDataParser.java:36) at net.sourceforge.subsonic.domain.MetaDataParser.getMetaData(MetaDataParser.java:42) at net.sourceforge.subsonic.domain.MusicFile.getMetaData(MusicFile.java:222) at net.sourceforge.subsonic.domain.MusicFile$MusicFileSorter.compare(MusicFile.java:598) at net.sourceforge.subsonic.domain.MusicFile$MusicFileSorter.compare(MusicFile.java:582) at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at net.sourceforge.subsonic.domain.MusicFile.getChildren(MusicFile.java:267) at net.sourceforge.subsonic.controller.MainController.handleRequestInternal(MainController.java:82) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:874) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:808) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
paid Subsonic user
bluetooth
 
Posts: 198
Joined: Mon Aug 04, 2008 6:57 pm

Postby bluetooth » Tue Mar 31, 2009 1:23 pm

Just to let folks know, I've moved everything to Drive C:. Problems seems to have gone away.

No idea why, or how.
paid Subsonic user
bluetooth
 
Posts: 198
Joined: Mon Aug 04, 2008 6:57 pm

Postby bluetooth » Sun Apr 05, 2009 1:28 pm

Spoke to soon. Problems went away downloading podcasts, but I still get the same error when I try to play the podcast.

Anyone have any ideas/suggestions for this? Anyone else have this problem when running on vista?
paid Subsonic user
bluetooth
 
Posts: 198
Joined: Mon Aug 04, 2008 6:57 pm

Postby jigsaw » Sun Apr 05, 2009 10:00 pm

If you get a "Access denied to file" error message then you should check the file permissions on the podcast-folder.
Compare the users and permissions from another music-folder that works and see if you can spot whats missing.
Currently without Subsonic due to hardware failure :(
User avatar
jigsaw
 
Posts: 242
Joined: Sat Oct 13, 2007 12:01 pm
Location: Stavanger, Norway

Postby bluetooth » Mon Apr 06, 2009 1:39 am

Thanks for the response.

I have the subsonic and subsonic/podcast folders both fully shared to the everyone group.

I just figured there'd be an easy sol'n.

Should I bother to move them to the documents folder?
paid Subsonic user
bluetooth
 
Posts: 198
Joined: Mon Aug 04, 2008 6:57 pm

Postby bluetooth » Tue Apr 07, 2009 8:50 pm

I've tried folders on all drives. I have explicity set each folder to be completely shared. I have upgraded JAVA.

Is this a known problem?

Am I asking for help in the wrong way?
paid Subsonic user
bluetooth
 
Posts: 198
Joined: Mon Aug 04, 2008 6:57 pm

Postby sindre_mehus » Sun Apr 12, 2009 8:11 pm

What's the (exact) setting for podcast directory in Settings > Podcast?
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby bluetooth » Sun Apr 12, 2009 9:24 pm

the exact setting is:

e:\podcasts\

This doesn't match the log above as I moved the podcast directory in an attempt to get it to work.
paid Subsonic user
bluetooth
 
Posts: 198
Joined: Mon Aug 04, 2008 6:57 pm

Postby sindre_mehus » Sun Apr 12, 2009 10:04 pm

That's a silly bug... Remove the trailing slash and you should be fine, i.e., e:\podcasts
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby bluetooth » Mon Apr 13, 2009 2:57 am

Thanks Sindre. I'll give it a try
paid Subsonic user
bluetooth
 
Posts: 198
Joined: Mon Aug 04, 2008 6:57 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 12 guests