The title pretty much says what I want to do.

I have a dual-boot setup with Windows 7 and Windows 8. Is there an easier way of doing this? I do not want to takeown the files, just add a user (or two) to the ACLs.

Is there an easier way of doing this?

Ideally, I would like to be able to select users from the advanced dialog in the edit permissions form, but I understand that this is probably not possible.

Update: If the answer is to use icalcs then please explain how I can add the user, since it is not a windows 7 user (i.e. I do not understand how it will know what user I am talking about).

  • Downvoter, comment? – soandos Jun 24 '12 at 5:29
  • So you're trying to grant access/rw privileges to a folder/file to a user that doesn't exist? – Mythrillic Jun 24 '12 at 5:38
  • @Adam543i No, to one that exists on a different OS (i.e. a windows operating system on a different partition) – soandos Jun 24 '12 at 5:43

You could try using fileacl to force setting the SID of your Windows 8 user account on the folder in question.

To retrieve your SID, you can use psgetsid, then update the ACL via:

fileacl c:\something /S S-1-N-M...:RXWDP


  • /S is the switch to set permissions
  • S-1-N-M... should be replaced with the SID that should be inserted into the ACL
    Please note, the SID and the permissions have the be delimited by a :.
  • RXWDP stands for
    • Read
    • Execute (Change directory)
    • Write
    • Delete
    • Write permissions

Please look into icacls /grant

You may also want to look into icacls /inheritance:e

EDITED to add more information as I cannot fit this text as a response

When you attempt to access a folder to which you do not have access, you're prompted by Windows with a dialog box, which asks you to elevate and permanently grant your account access to the folder. This adds your current logged in account's SID to the folder. However, if the files in the folder are not configured to inherit permissions from their parent folder, the permissions which were added to the directory as a result of the previous step are not inherited by the files within that folder. The icacls command with /inheritance:e option simply grants your current user account permission to access the file by inheriting them from the parent directory. In essence, you're adding the current logged in user's SID to the files.

  • I can grant it, but to whom am I granting the rights? The other user does not exist on windows 7 – soandos Jun 24 '12 at 5:22
  • I've provided a more detailed response above. The short answer is that you grant permission to the current logged in user to view the resource. Cheers. – R.. Jun 24 '12 at 6:36
  • If the files were from a different operating system what actually happens is that windows lets the current user take ownership over the files. I want to avoid that. – soandos Jun 24 '12 at 6:37

I place all the folders that I want to access by BOTH (or more,) OS's on a different logical volume or mount-point.

It's a lot less hassle than trying to access user folders held hostage by Vista, Win7, or Win8.

Barring that, I believe that if you always make sure that the user and password for both OSes are the same, you should be golden.

  • While this is true, it is not very practical in many cases. Moving user profiles is a headache on its own, and keeping the passwords the same is not trivial either (and it's a security risk) – soandos Apr 9 '13 at 21:40
  • Assuming this is a personal and business computer, there is no add'l security risk. I would not move the profiles, they should stay within their install partition. – Tallon41 Apr 9 '13 at 21:52

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.