[windev] UAC and file ownership problem...
Serge Wautier
serge at wautier.net
Thu Feb 12 22:06:45 GMT 2009
The only solution that I know to the common RW files scenario that works in
all situations (XP/Vista, environments,...) is to modify the files
permissions while you're an admin (in the installer) to grant
everyone/Authenticated Users/whatever the necessary rights.
Note that UAC is not responsible for preventing non-admins to modify the
files. As you noticed, the 'problem' is that by default, Vista doesn't grant
write access to everyone in the ALLUSERSPROFILE.
HTH,
Serge.
http://www.apptranslator.com
> -----Original Message-----
> From: windev-bounces at windev.org [mailto:windev-bounces at windev.org] On
> Behalf Of David Little
> Sent: jeudi 12 février 2009 22:56
> To: windev at windev.org
> Subject: [windev] UAC and file ownership problem...
>
> In my app, I have a bunch of (maybe 60) data files which I create - by
> copying - during the install. They are copied to a folder we create
> under the %ALLUSERSPROFILE% folder. the problem is, if the user has
> UAC
> (this is a Vista question for those who wonder what UAC is) turned on,
> the files get created just fine, but they are 'owned' by the admin
> (admin is required for installation) and they're read-only for
> everybody
> else.
>
>
>
> Anybody know how to lower the rights required? In prior versions, we
> just put them in a "system" folder under program files, but that's not
> an option at all now.
>
>
>
> Any ideas?
>
>
>
> Thanks!
>
>
>
> - David Little
>
> - COADE, Inc.
>
> - Houston, Texas
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.windev.org/pipermail/windev/attachments/20090212/15a0db10/
> attachment.htm
> --
> Windev mailing list at Windev at windev.org
>
> Lost your password? Need to unsubscribe or change your delivery
> options?
> Go to http://lists.windev.org/mailman/listinfo/windev
> --
> Search the Windev Archives - www.windev.org
More information about the Windev
mailing list