Bug 4905 - Error while opening web page in Vista, "Can't open [path]: Permission denied"
: Error while opening web page in Vista, "Can't open [path]: Permission denied"
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 6.5.2
: PC Windows Vista
: P2 normal (vote)
: ---
Assigned To: Ross Levine
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-12 09:45 UTC by Dan Evans
Modified: 2007-04-30 16:48 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
Screenshot of error (17.97 KB, image/jpeg)
2007-04-12 09:46 UTC, Dan Evans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Evans 2007-04-12 09:45:17 UTC
This happens when opening the web UI, but only when it will actually open.  (which is why I made a separate bug)

Many users are getting a nasty looking error message on trying to open the web page via the Slimtray icon.  It reads, "Can't open to write to C:\Program Files\SlimServer\SlimServer Web Interface.url: Permission denied".

If you click past this error the web interface open successfully.
Comment 1 Dan Evans 2007-04-12 09:46:00 UTC
Created attachment 1899 [details]
Screenshot of error
Comment 2 Chris Owens 2007-04-12 10:14:59 UTC
Ross, can you try to look at this and continue your 6.5.2 testing at the same time?
Comment 3 Ross Levine 2007-04-12 11:51:47 UTC
I've also seen this bug. I'm adding this to my list of Vista bugs, thank you Dan for taking the time to file this for me. 
Comment 4 Bryan Alton 2007-04-16 12:38:53 UTC
Are users with this problem using Slimserver on port 9000 ? 

This looks like a side effect of the patch I created for bug #4762 and was applied around 20 March-07 so 6.5.2.

As part of the patch to fix leaking memory, I "fixed" a problem when users wanted to use a port other than 9000 - typically because WMP 11 was running.  The patch means that SlimTray updates the SlimServer Web Interface.url so that it matches the pref values.  This fixed the problem of not opening a Web interface if the user has changed httpport from 9000.

This patch works OK for XP - there must be something different either the location of the url file or the permission on the directory and file.  I don't have Vista so all I can do is guess. SlimTray is running under a user id but the URL file is in a directory which the Slimserver service uses which has a different user id and different permissions.
Comment 5 Ross Levine 2007-04-27 18:03:01 UTC
Yes, port 9000. Triode could this have anything to do with bug 4899?
Comment 6 Adrian Smith 2007-04-28 10:18:51 UTC
I hope this is improves with change 11852.  This changes where the server url file is stored on Vista to a directory which is created by the server as writeable by all.
Comment 7 Ross Levine 2007-04-30 16:48:17 UTC
No more error message, thanks Triode!