Settign user rights for Folder and it's files

39 views
Skip to first unread message

Tommi Prami

unread,
Oct 7, 2025, 2:16:06 AM (8 days ago) Oct 7
to inno...@googlegroups.com
Hello,

Not sure will (similar to) this
Name: "C:\SomePath\;SubDir\" Permissions: users-full;

Update the rights on existing dir or not. And will it help with files also or not?

Problem with one customer that is a bit weird for one customer. 

There have been some mods to user rights dir that we need some rights, at least some :).

The group "users"  has enough rights, but that specific user doesn't. Our IT guy did not figure out what actually had been modified and how.

Is there a way to check rights to the folder, of currently logged in user, and possibly giving needed rights for thespecifc user also. 

Or better yet would be copy from the Users -group. 

But any  help would be much appreciated for sure.

Bill Stewart

unread,
Oct 8, 2025, 9:02:29 AM (6 days ago) Oct 8
to innosetup
On Tuesday, October 7, 2025 at 12:16:06 AM UTC-6 Tommi Prami wrote:

Not sure will (similar to) this
Name: "C:\SomePath\;SubDir\" Permissions: users-full;

...


Is there a way to check rights to the folder, of currently logged in user, and possibly giving needed rights for thespecifc user also. 

...

Or better yet would be copy from the Users -group.

But any  help would be much appreciated for sure.

Perhaps there is a bit of a language barrier, as I'm not entirely certain of your specific question.

You can always execute the "icacls" command to make specific permission changes if Inno Setup's "out of the box" permission changes aren't sufficient.

I would also point out that proper separation of user vs. application data generally makes this kind of problem go away.

Tommi Prami

unread,
Oct 9, 2025, 1:01:32 AM (6 days ago) Oct 9
to inno...@googlegroups.com
OK,

I'll try to rephrase this.

  • Somewhere in space and time, something has messed up rights for the folder and/or files
  • Would need to fix those rights to something  that works.
  • We have two (or three) installation methods, and for consistency and lesse complexity, we have a situation where the user has to be able to write under program data also, and able to delete I think etc... For a few of the folders there, not all....
  • So I did not find info will the " Name: "C:\SomePath\;SubDir\" Permissions: users-full;" etc update the rights or does it set rights only while creating the folder??
Could you give bit more info of "icacls", will google it, but sometimes you and up in rabbit hole for hours if not lucky and find good examples wirht away...

-tee-


--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/3ddc18e4-2a37-41e5-9715-7327d0e29448n%40googlegroups.com.

Bill Stewart

unread,
Oct 9, 2025, 8:33:19 AM (5 days ago) Oct 9
to innosetup
On Wednesday, October 8, 2025 at 11:01:32 PM UTC-6 Tommi Prami wrote:

So I did not find info will the " Name: "C:\SomePath\;SubDir\" Permissions: users-full;" etc update the rights or does it set rights only while creating the folder??

I think the documentation explains it pretty well...


In the "Permissions" section, it says: "The specified permissions are set regardless of whether the directory existed prior to installation."
 
Could you give bit more info of "icacls", will google it, but sometimes you and up in rabbit hole for hours if not lucky and find good examples wirht away...

To use the icacls command effectively, you need to have some understanding of NTFS permissions.

It's a bit beyond the scope of this group to provide a comprehensive tutorial on how to use the icacls command.

Fortunately, it's not difficult to create a directory in your own file system and experiment with the icacls command and its options to find out what will work in your scenario.

Reply all
Reply to author
Forward
0 new messages