Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Windows Vista and File Permissions
Mon, Nov 20 2006 1:32 PMPermanent Link

Gordon Turner
I'm testing my app under Windows Vista and am having a strange problem.
  I create the tables programatically in
c:\Users\Public\Documents\App\Data.  I set the permissions on the Data
folder during the install process to users-modify powerusers-modify
admins-modify system-modify.  (The same problem occurs when I install to
"AppData" instead of "My Documents".)  When the program starts, all of
the tables are created with the proper permissions, except for one.  It
is not first or last table created in code, but it is the last table
alphabetically.  This table only gets the standard permissions instead
and this is a problem if an Administrator installs the program and a
restricted user tries to run it since they can't update the table.

I'm using Delphi 5 and DBISAM 2.05 (yea, I know it's an old version -
upgrading to the latest when I upgrade the app next year).

Can anyone point me to a solution to the problem?

Gordon Turner
www.mycroftcomputing.com
Mon, Nov 20 2006 5:16 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Gordon,

<< I'm testing my app under Windows Vista and am having a strange problem.
I create the tables programatically in :\Users\Public\Documents\App\Data.  I
set the permissions on the Data folder during the install process to
users-modify powerusers-modify
admins-modify system-modify.  (The same problem occurs when I install to
"AppData" instead of "My Documents".)  When the program starts, all of the
tables are created with the proper permissions, except for one.  It is not
first or last table created in code, but it is the last table
alphabetically.  This table only gets the standard permissions instead and
this is a problem if an Administrator installs the program and a restricted
user tries to run it since they can't update the table. >>

I don't have Vista installed anywhere yet, but it sounds like a bug in Vista
to me.  DBISAM would be creating each file exactly the same way each time,
so if the last file in alphabetical order gets different permissions, then
there's something wrong with the OS IMO.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image