0

This is my Administrators group, I have two users on the computer in the group but only 1 of them has access to a file. The one that has access is the creator of the file (owner).

http://i58.tinypic.com/2a9plbd.png

I have a file, used to generate logs for our application. It's stored in the "ProgramData" folder. Any user can install the application and it should write to the single log file. Here's the permissions for the file. It's set on the app folder itself recursively:

http://i59.tinypic.com/wbp8no.png

In order for the other user to have access, I have to set the group "my-pc\Users" to full control. Even though there should be overlap from the Administrators group which has full control.

Anyone know what's going on here? Is this just some Windows quirk?

1

This is the impact of the User Account Control (UAC) which is part of Windows since Vista. Your account is in admin group, but has a filtered token which is effectively standard user rights. So you have to grant the normal users group also access to files/folders.

3
  • Or "Run as administrator" whatever application you are trying to access the files with
    – qasdfdsaq
    Aug 31 '15 at 16:41
  • Or give the other user explicit permissions on the log file.
    – kreemoweet
    Aug 31 '15 at 17:54
  • Adding a permissions adjustment on startup. Thanks. Sep 1 '15 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.