Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Troubles with permissions


7 replies to this topic

kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 14 November 2006 - 16:49

[BASIC MSI IS 12]

I'm living a real nightmare with permissions on my target folder. mad.gif

I set the privileges to my INSTALLDIR with IS 12:
Owner Administrators
RWX Administrators
RW Everyone
RW Users

Fine, but once I'm logon as user I got an access denied to the INSTALLDIR.

If I create manually another dir with exactly the same privileges, then I can access to it as simple user without problem.

Is there something wrong with the permissions set by IS or did I miss something??

I would be grateful for any help!!
Thank you


kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 14 November 2006 - 17:28

I observed another very weird behaviour:

I checked the properties of my INSTALLDIR:

1. I removed the group USERS (Read&Execute, List Folder, Read) from the privileges, 2. I re-add the same group USERS exactly with the same privileges
3. Apply-OK
4. log as user and finally accessed without trouble to the INSTALLDIR!! huh.gif

Is anybody aware of any bug relating to the permissions set by IS?




kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 20 November 2006 - 07:32

Has anybody ever had this problem?

***
Just to let you know that I reported this issue to InstallShield and they did reproduce it.
I have IS 12.
It's critical because it mess up the permissions and make the deployment not reliable.
***



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 November 2006 - 10:12

Please open the .msi file in Direct Edit mode (or in Orca) and look at the LockPermissions table. Can you post the content of the relevant row of that table, in particular the User column?

kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 20 November 2006 - 10:49

Thanks for you reply.

The contents in the lock perm table:

INSTALLDIR CreateFolder Administrators 1880031743
INSTALLDIR CreateFolder Everyone 131241
INSTALLDIR CreateFolder Users 131241


kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 29 November 2006 - 15:20

Macrovision support:

"In the Permissions table replace the value with: 538050697 for Everyone and Users."

How weird!?

And it works indeed! blink.gif

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 29 November 2006 - 16:12

You can find the meaning of these flags in winnt.h

kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 29 November 2006 - 16:24

Alright.

However if you enter these values directly in the lock permissions table, they will be differently displayed in the "Destination Permissions" of the Component (read only for 'everyone' in this case)