Windows 10: get file permissions

Discus and support get file permissions in Windows 10 Network and Sharing to solve the problem; Is there any easy way to get the permissions associatied with a directory using Python?... Discussion in 'Windows 10 Network and Sharing' started by EvanScott1, Sep 15, 2020.

  1. get file permissions


    Is there any easy way to get the permissions associatied with a directory using Python?

    :)
     
    EvanScott1, Sep 15, 2020
    #1

  2. No permissions

    Hi,

    I would suggest you to right click on the user's folder for your profile and check if the permissions shows as "read only'. If this is the case, it might be causing the issue. In this case, I would suggest you to go to C:\User folder, right click on the
    folder with your username and follow these steps:

    • Open the properties of the main user profile folder where the files are located (such as Documents, Pictures, etc).
    • Go to the Security tab and click Advanced.
    • Check the box at the bottom of this window. It is labeled "Replace all child object permissions with inheritable permissions from this object" and then click Ok.
    This does a one-time action that replaces the security on all the files/subfolders. It’s one-time, so you won’t find that box checked if you peek at it later. Try these steps and let us know the results for further assistance.
     
    Bennet Martin, Sep 15, 2020
    #2
  3. Reset Windows 10 file permissions to default

    Hi,

    Welcome to Microsoft Community and thank you for your interest in Windows 10.

    • Are you receiving any error message while accessing any files?
    I suggest you to follow the below methods and check if it helps.

    Method 1: Startup troubleshooter.

    • Open the Task manager. Here’s a tip: Press CTRL+Shift+ESC.
    • Click File > Run New Task
    • Make sure you have a check mark beside “Create this task with administrative privileges”
    • Type Powershell
    • Type the following in the Powershell prompt:
    $manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest


    6. Close the Powershell window

    7. Reboot

    Method 2: If you are facing issues accessing files, then I suggest you to follow the below steps and check if it helps.

    This may be caused by incorrect permissions on the files.

    You can fix this using these steps:

    • Open the properties of the main user profile folder where the files are located (such as Documents, Pictures, etc).
    • Go to the Security tab and click Advanced.
    • Check the box at the bottom of this window. It is labeled "Replace all child object permissions with inheritable permissions from this object" and then click Ok
    Hope this information was helpful and do let us know if you need further assistance. We will be glad to assist.
     
    Karthicka_R, Sep 15, 2020
    #3
  4. get file permissions

    Windows 10 File Permission Issue

    There is a possibility that the files that you are trying to open are corrupted. Just to follow up, please answer the following questions:

    • Which application are you using to open the photos?
    • What is the file type of the photos that you're trying to open?

    We suggest that you check the permissions of the folder where the photos that you're trying to view are located at. To do so, follow the steps below:

    1. Right-click on the folder and select Properties. A pop-up box will appear.

    2. Go to the Security tab.

    3. Under the Security tab, check if all the options under
    Permissions for SYSTEM are allowed/checked.

    Feel free to ask back any questions and let us know how it goes.
     
    Lizette Ags, Sep 15, 2020
    #4
Thema:

get file permissions

Loading...
  1. get file permissions - Similar Threads - file permissions

  2. How can I change it so that I have permission to open/modify any file on my Windows?

    in Windows 10 Gaming
    How can I change it so that I have permission to open/modify any file on my Windows?: I recently got a 'you don't have permission to view that' when trying to look at a notepad file I'd downloaded with a game and it made me mad. How can I indefinitely change it so this never happens again? Mind you I've tried quite a many things over the course of 12 or so...
  3. How can I change it so that I have permission to open/modify any file on my Windows?

    in Windows 10 Software and Apps
    How can I change it so that I have permission to open/modify any file on my Windows?: I recently got a 'you don't have permission to view that' when trying to look at a notepad file I'd downloaded with a game and it made me mad. How can I indefinitely change it so this never happens again? Mind you I've tried quite a many things over the course of 12 or so...
  4. I need help with deleting a file, asking for permission

    in Windows 10 Network and Sharing
    I need help with deleting a file, asking for permission: Hi,i wanted to delete a file but I couldn't because it said that some other program is using it. I have checked and couldn't find any program using it. i have opened properties window and did something there, actually a couple of things which I'm not very clear of, basically...
  5. I need help with deleting a file, asking for permission

    in Windows 10 Gaming
    I need help with deleting a file, asking for permission: Hi,i wanted to delete a file but I couldn't because it said that some other program is using it. I have checked and couldn't find any program using it. i have opened properties window and did something there, actually a couple of things which I'm not very clear of, basically...
  6. I need help with deleting a file, asking for permission

    in Windows 10 Software and Apps
    I need help with deleting a file, asking for permission: Hi,i wanted to delete a file but I couldn't because it said that some other program is using it. I have checked and couldn't find any program using it. i have opened properties window and did something there, actually a couple of things which I'm not very clear of, basically...
  7. Account Unknown Under File Permissions / also TrustedInstaller

    in Windows 10 Network and Sharing
    Account Unknown Under File Permissions / also TrustedInstaller: For anyone who gets stuck with not being able to Delete a Folder or File due to an oddball User such as S-1-5 etc, or even TrustedInstaller, here is the process to follow. You will typically come across it when you see a User called S-1-5- xxxx etc. or something similar to...
  8. Account Unknown Under File Permissions / also TrustedInstaller

    in Windows 10 Gaming
    Account Unknown Under File Permissions / also TrustedInstaller: For anyone who gets stuck with not being able to Delete a Folder or File due to an oddball User such as S-1-5 etc, or even TrustedInstaller, here is the process to follow. You will typically come across it when you see a User called S-1-5- xxxx etc. or something similar to...
  9. Account Unknown Under File Permissions / also TrustedInstaller

    in Windows 10 Software and Apps
    Account Unknown Under File Permissions / also TrustedInstaller: For anyone who gets stuck with not being able to Delete a Folder or File due to an oddball User such as S-1-5 etc, or even TrustedInstaller, here is the process to follow. You will typically come across it when you see a User called S-1-5- xxxx etc. or something similar to...
  10. I scan a file but not save in default folder in document /My scan, msg show no permission...

    in Windows 10 Software and Apps
    I scan a file but not save in default folder in document /My scan, msg show no permission...: Screen shot Attached https://answers.microsoft.com/en-us/windows/forum/all/i-scan-a-file-but-not-save-in-default-folder-in/0625891b-b953-4668-8ad1-bb235ef997ec