How to set permissions for mapped drive

On my windows 10 system, I configured the directory c:\users\public\documents\mydir to allow me full control, and I mapped that path to drive letter z.  I observe that whenever I attempt to access directories using the mapped syntax, e.g. edit z:\my_file, mkdir z:\foo, I have only read access, but the same operations invoked using the full absolute path (e.g. edit c:\users\public\documents\mydir\my_file) work fine.  Could someone please explain how to configure the mapped drive to allow full control.  Thanks. 

Note: I am an administrator, I own that directory and its children, and network discovery is on for that directory under all network profiles

Hi Bill,
please try a access files and folders in nested directories of z: or run CMD as administrator. By default you are working with user's access rights and the do not allow full control to root directory objects.
------------------
if you'll find someone's post helpful, mark it as an answer and rate it please. This will help other users to find answers to their similar questions.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thank you for the suggestion.

When I run cmd.exe with elevated permissions the command

z:\>mkdir foo

returns with "Access denied".  If, however, I run cmd with plain user permissions, the same mkdir command

c:\users\bzink> mkdir c:\users\public\documents\my_dir\foo

succeeds.

My hope is to configure the mapped drive permissions so they match those of the local directory.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

What tool do you use for mapping? Please run chkdsk on source volume.
------------------
if you'll find someone's post helpful, mark it as an answer and rate it please. This will help other users to find answers to their similar questions.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

I see the same permission problem no matter whether I map the drive via the command line ("net use z: ....") or via the windows GUI (the file explorer "map network drive" button).

I did try chkdisk;  no errors found .  I also ran

sfc /scannow

dism /online /cleanup-image /checkhealth

dism /online /cleanup-image /restorehealth

with the same positive result.

Thank you for your continued interest.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Please try to use subst command from the command line.
------------------
if you'll find someone's post helpful, mark it as an answer and rate it please. This will help other users to find answers to their similar questions.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

The mapping a folder as a network drive change access methods so access rights are assigned not by NTFS but a network settings. And in this case the access to root folder is limited.
So try to use subst. Unfortunately it requires to assign drive after each restart. One may done this manually or by batch file in scheduler.
------------------
if you'll find someone's post helpful, mark it as an answer and rate it please. This will help other users to find answers to their similar questions.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Yes, the assignment

C:\Users\bzink>subst x: c:\users\public\documents\my_dir

allows read/write access to the directory and it contents using the shorthand "x:\..." notation.  Thank you for the suggestion.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated May 12, 2024 Views 2,073 Applies to: