1001WordsPhoto / gpicsync

Automatically exported from code.google.com/p/gpicsync
Other
0 stars 0 forks source link

admin install on Win2000Pro : non-admin user cannon change config file #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After installing on Win2000Pro as admin, non-admin user cannot change
configuration (even after copying gpicsync.conf file to the user's profile
and having all proper file permissions).

Original issue reported on code.google.com by vale...@gmail.com on 6 Sep 2007 at 8:26

GoogleCodeExporter commented 9 years ago
"""I was trying to use GPicSync software in a teaching lab to demonstrate the
technique, but ran into an issue with non-priviledged user accounts. On
Windows2000Pro, non-admin user cannon change/save config file even after 
manually
copying gpicsync.conf file into user's profile and giving it all read/write
permissions. I've looked everywhere including registry, but cannot find where it
stores the path to the config file."""

Ah Ok I didn't look at this case. 

I don't write at all in the registry. I use the USERPROFILE environnement 
variable at
the installation  and latter when launching the program.

I've just slightly changed the way GPicSync saves the conf file here :
http://francois.schnell.free.fr/gpicsync/temp/latest-build/setup2.exe

Not sure if it will work for you but you can give it a try (if you've already 
copied
a configuration file in the user folder ie C:\Documents and Settings\{username})

Original comment by francois...@gmail.com on 6 Sep 2007 at 9:10

GoogleCodeExporter commented 9 years ago
Tried the updated version, but it didn't fix the issue. Here is what I get in 
the log
file:

Traceback (most recent call last):
  File "gpicsync-GUI.py", line 561, in exitAppSave
  File "gpicsync-GUI.py", line 358, in writeConfFile
IOError: [Errno 2] No such file or directory: '~/gpicsync.conf'

Hope this helps :-)

Thanks!

Original comment by vale...@gmail.com on 7 Sep 2007 at 3:46

GoogleCodeExporter commented 9 years ago
Thanks for the feedback.

I've just updated the setup2.exe at the same URL hopefully it will work this 
time.

francois

Original comment by francois...@gmail.com on 7 Sep 2007 at 8:19

GoogleCodeExporter commented 9 years ago
It saves settings OK now but still doesn't open the config file from "Options" 
menu.

Original comment by vale...@gmail.com on 10 Sep 2007 at 3:48

GoogleCodeExporter commented 9 years ago
Ah Ok, I've made another setup2.exe
http://francois.schnell.free.fr/gpicsync/temp/latest-build/setup2.exe

Original comment by francois...@gmail.com on 11 Sep 2007 at 8:31

GoogleCodeExporter commented 9 years ago
Great, all works fine! Thank you for the quick fix and great software!

Original comment by vale...@gmail.com on 11 Sep 2007 at 10:38

GoogleCodeExporter commented 9 years ago
Ok great, thanks for your feedback valeryc.

francois

Original comment by francois...@gmail.com on 13 Sep 2007 at 7:50