Bugzilla – Bug 8265
Shortcut to open SC can't be updated if user is non-privileged
Last modified: 2009-07-31 10:21:53 UTC
Permissions on the .url file don't allow updating by non-privileged users. Might need to use alternative path or make sure permissions are always reset.
Ken - Please shut down the tray icon and start it again - do you get that message again? As you're on Vista - didn't you get a window asking for the admin's password when you installed?
I shut down the tray icon as you suggested and tried to start SqueezeCenter. Same result. . ."'X' Cannot write to:" msg. I DID NOT get a window asking for an admin password when installing SC.
Ken, I've fixed the issue which prevented the message from fully being displayed. Could you please update to the very latest 7.0.2 build and try again? I'd like to see what file it's trying to change and why it does fail. Are you running SC on Vista or XP?
Will do. I'm running Vista. I'll contact you shortly to give you the results after I've downloaded SC 7.0.2. Thanks a lot.
Michael, Where can I find SC 7.0.2 to download? I only see 7.0.1 on www.slimdevices.com/su_downloads.html. Thanks.
http://www.slimdevices.com/downloads/nightly/latest/7.0/ make sure you take the very latest - I did a build especially due to this issue (bigger number = more recent build :-))
Same problem, but I was able to see the entire error msg. . . "Unable to write to:C:\Documents and Settings\All Users\Application Data\SqueezeCenter Web Interface.URL: No Such File or Directory Hope that helps.
> "Unable to write to:C:\Documents and Settings\All Users\Application > Data\SqueezeCenter Web Interface.URL: No Such File or Directory Obvious question: does this file exist? If yes, what are the permissions on it and the folder in which it is stored? Can you access it in Explorer?
I think you found the problem. Surprisingly, I can't locate a folder on the C drive called "Documents & Settings", nor "All Users". In fact, I can't locate any of the files or folders referred to. Folders that are present are: Movies Program Files Update Users (Ken & Public) Windows along with files BOOTSECT.BAK cookies.dat hpzids01.dll vcredist_x86 Can we re-direct SC to one of these?
> I think you found the problem. Surprisingly, I can't locate a folder on the C > drive called "Documents & Settings", nor "All Users". In fact, I can't locate > any of the files or folders referred to. Folders that are present are: That's interesting indeed! You're on Vista? Did you do an upgrade installation from XP? The path we're trying to use was read from the registry. Although you don't see these paths this doesn't mean they don't exist. Vista uses virtual folder names for localization and similar. Plus some of these paths are hidden. But you can enter them manually in the path field at the top of Explorer. Can you open "Docs & Settings" this way? If you're confident using the Registry editor, could you please tell me what the following key is set to? Local Machine/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders/Common AppData
We didn't upgrade from XP. We bought a new Sony VAIO and it came with Vista installed. When I type in C:\Documents and Settings, I get a dialog box that's titled "Location is not available" and inside the box the msg reads "C:\Documents and Settings is not accessible. Access is denied." Unfortunately I'm not familiar with the registry editor, but if you can guide me, I will be happy to try. Thanks.
Haven't received a response from you regarding my last comment. Still unable to load SqueezeCenter software. Thanks.
I'm sorry I didn't get back to you earlier. But while we do have an issue here which must be fixed, not being able to start SC is an all different beast. You'd best contact support or ask in the forums to get you started.
hello everbody i have the same problem on my notebook with a Vista Home edition. So I checked a few things 1)registry: value was C:\Documents and Settings\All Users\Application Data\ 2) I checked a) with explorer -> not accesible b) with total commander - showed a 'Documents and Settings' but was not able to access the folder although I am Administrator 3) so I changed the registry to C:\Users\default.Amilo\Anwendungsdaten because I was able to click into that folder with Total Commander. But still SC is not starting. 4) I figured out that with the normal explore I have no access to this folder. So I assume that's why SC does not work. But I struggle now. How do I have to set the registry that SC finds its way?? Especially why on goods earth has a tool like Total Commander other rights than the normal explorer... One thing to mention: I did not upgrade from XP as well, it was a clean installation. Interestingly SC worked for some time and then suddenly it stopped working. The only thing what I once did from a user perspective was to change the user name. But even if I change it back, it doesn't help SC. so please help ;-)
ok. have now the solution at least for me. Changed the permission of C:\Users\default.Amilo\Anwendungsdaten folder for all the user to Fullaccess. But still don't know what I did that it stopped working..
QA - can you reproduce this on any of your systems? I can't :-(.
Could all of you please give us the following pieces of information: - Windows version (incl. service pack if possible) - result of "set" run in a DOS Window (you can redirect its output to a text file by using "set > set.txt" and upload that file if you prefer) - result of "reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Common AppData" run in a DOS Window Thanks a lot!
This is a reminder that this bug is to QA for 7.1. Please review these bugs!
In the mean time I've been discussing this issue in the newsgroup of our installer software. I'll probably rewrite the Windows folder detection code for 7.2. It seems the method we're using has been deprecated by MS ever since W95 came out, but kept alive for compatibility reasons with "Windows 4 - pre 95" versions...
Ok, I have a similar problem - things work ok if I log in as an Administrator, not so hot if I log in as a standard user. Also, I should note that I'm running SqueezeCenter as a service (if I run as an app, and one user start Squeezecenter, and then logs off - as happens when my screensaver comes on, for instance - then another user cannot start a new squeezecenter / interact with the old one). As a standard user, the first time I double click on the tray icon or the desktop shortcut, I get the following error message: (Window Title): SqueezeCenter (Red X Icon) Unable to write to: (OK Button) It is then followed by this error message: (Window Title): C:\Program Files (x86)\SqueezeCenter\server\SqueezeCenter Web Interface.url (Red X Icon) Windows cannot find 'C:\Program Files (x86)\SqueezeCenter\server\SqueezeCenter Web Interface.url'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search. (OK Button) On subsequent clicks on squeezetray, I only get the second error message - if I restart the tray app, I can get the first message again though. This is odd because I have not installed squeezecenter to this (the default directory, I assume) - instead, it is installed to C:\Music\SqueezeCenter. (Ie, my shortcut points to: C:\Music\SqueezeCenter\SqueezeTray.exe --start I have checked, and standard users DO have write/modication access to the C:\Documents and Settings\All Users\Application Data\SqueezeCenter directory (and it does indeed exist) - for instance, standard users can rename the url shortcut 'C:\Documents and Settings\All Users\Application Data\SqueezeCenter\SqueezeCenter Web Interface'. If I simply open the 'C:\Music\SqueezeCenter\SqueezeCenter Web Interface' web link manually, or even just type in http://localhost:9000 in my web browser, I can access things fine (since the server itself starts up just fine as a service) - this is what I'm doing for the moment as a workaround (I just ignore the tray icon when logged on as a standard user, except as feedback on whether the server has finished starting up...). ============================================================ ============================================================ SqueezeCenter Information: SqueezeCenter Version: 7.0.1 - 19133 @ Fri Apr 25 00:21:13 PDT 2008 - Windows Server 2003 - EN - cp1252 Server IP address: ###.###.###.### Perl Version: 5.8.8 MSWin32-x86-multi-thread MySQL Version: 5.0.22-community-nt Platform Architecture: 586 Hostname: ### Server Port Number: 9000 ============================================================ OS Information: Microsoft Windows XP Professional x64 Edition Version 2003 Service Pack 2 ============================================================ Results of reg query (incidentally, I had to format the command as: reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Common AppData" rather than reg "query HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Common AppData" as requested - perhaps a differnce in version of the reg shell command? I know I ran into some problems with that once...) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders Common AppData REG_SZ C:\Documents and Settings\All Users\Application Data ============================================================ Results of set command: ALLUSERSPROFILE=C:\Documents and Settings\All Users APPDATA=C:\Documents and Settings\LimitedUserTest\Application Data BOOST_DIR=C:\Dev\boost\boost_1_34_0 CLASSPATH=.;C:\Program Files (x86)\Java\jre1.5.0_11\lib\ext\QTJava.zip CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files COMPUTERNAME=####### ComSpec=C:\WINDOWS\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Documents and Settings\LimitedUserTest INCLUDE=C:\Dev\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\ LIB=C:\Dev\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\ LOGONSERVER=\\####### NUMBER_OF_PROCESSORS=2 OS=Windows_NT Path=C:\3D\Maya2008\bin;C:\3D\Maya8.5\bin;C:\Dev\Tcl\bin;C:\Systools\Support Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\Java\jre1.5.0_06\bin;C:\Multimed\QuickTime\QTSystem\;C:\Dev\InstallShield\AdminStudio\7.5\Common\;K:\Apps\Tcl\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=AMD64 Family 15 Model 43 Stepping 1, AuthenticAMD PROCESSOR_LEVEL=15 PROCESSOR_REVISION=2b01 ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) PROMPT=$P$G QTJAVA=C:\Program Files (x86)\Java\jre1.5.0_11\lib\ext\QTJava.zip SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TCL_DIR=K:\Apps\Tcl TEMP=C:\DOCUME~1\LIMITE~1\LOCALS~1\Temp TEXTPAD_DIR=K:\Apps\Textpad 4 TMP=C:\DOCUME~1\LIMITE~1\LOCALS~1\Temp USERDOMAIN=###### USERNAME=LimitedUserTest USERPROFILE=C:\Documents and Settings\LimitedUserTest VS71COMNTOOLS=C:\Dev\Microsoft Visual Studio .NET 2003\Common7\Tools\ VS80COMNTOOLS=C:\Dev\Microsoft Visual Studio 8\Common7\Tools\ windir=C:\WINDOWS ============================================================
Thanks for the extensive feedback. Did you see this only with 7.0.1 or before, too? > Microsoft Windows XP > Professional x64 Edition > Version 2003 XP or 2003 Server? Anybody else using 64bit Windows? BTW: if you run SC as a service, then there's little need for the tray icon. Just remove it from the startup group and create favorites/bookmarks instead. Saves you a few megabytes of memory too...
change 21178 - remove the need to write out a .url file by calling the URL directly. No file, no permissions issue. Case closed.
This bug has now been fixed in the 7.1 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Reduce number of active targets for SC