| Windows 7: NTFS Junctions, Sharing and User Permissions |
09 Oct 2009
|
#1 | | |
NTFS Junctions, Sharing and User Permissions Hi all,
I have a peculiar situation. I tend to use NTFS junctions a lot to keep all my media in one place. I also make use of the Windows 7 Homegroup feature in order to easily access this media.
When I share a folder to a homegroup that contains, as subfolders, an NTFS junction, the user permission for 'HomeUsers' do not get applied (inherited) to all the folders inside the NTFS junction. Even though I can list the contents of that NTFS junction from another computer, I cannot enter into another level of directories.
Example:
D:\Media\ is a normal folder containing the following subfolders:
D:\Media\Audio which is a standard folder
D:\Media\Video which is a NTFS junction that points to say E:\Videos\
Right clicking on D:\Media\ and selecting Share With -> Homegroup allows me to then access this media over the network.
On another PC that is joined to the Homegroup I have full access to everything contained in D:\Media\Audio (Since it is not a junction), however, I can only list the contents of D:\Media\Video and nothing more. I cannot go another level deep of listing or anything.
Manually inspecting the user permissions, I notice that all the folders contained in D:\Media\Video\ does not have the 'HomeUsers' permission. However the NTFS junction itself does have the 'HomeUsers' permission.
So I tried two things:
- Manually adding the 'HomeUsers' permission to the content that the NTFS junction is pointing to, i.e. everything in E:\Videos\ . This still leaves this content inaccessible.
- Manually adding the 'HomeUsers' permission to the content inside the NTFS junction, i.e. everything in D:\Media\Video\ . No love.
Can anyone suggest how I would overcome this issue? | My System Specs |
| |
09 Oct 2009
|
#2 | | |
Hello,
I got it to work using a program called Junction Link Magic. Here is my setup:
Junction C:\Testshare\Videos pointing to F:\Videos
C:\Testshare is shared to Homegroup with read/write
Permissions on F:\Videos is "Authenticated Users" have full control. The folder itself is not shared.
From another computer I can list the contents of files and folders within it.
I hope that helps. | My System Specs | | System Manufacturer/Model Number Too many to list. OS XP, Seven, 2008R2 CPU AMD, Intel, VIA Motherboard Various Memory Corsair, Kingston, etc. Graphics Card ATI, NVIDIA Monitor(s) Displays Samsung Keyboard qwerty Hard Drives Maxtor, Western Digital Internet Speed 22 Mb/s @ home, 1 Gb/s @ server Other Info All of my systems still run fastest on XP 32-bit for the most part. Win7 is fun to play with, but I still prefer XP for raw speed, security, and functionality. |
09 Oct 2009
|
#3 | | Win7 Build 7600 x86 Netherlands |

Quote: Originally Posted by jabalsad Hi all,
I have a peculiar situation. I tend to use NTFS junctions a lot to keep all my media in one place. I also make use of the Windows 7 Homegroup feature in order to easily access this media.
When I share a folder to a homegroup that contains, as subfolders, an NTFS junction, the user permission for 'HomeUsers' do not get applied (inherited) to all the folders inside the NTFS junction. Even though I can list the contents of that NTFS junction from another computer, I cannot enter into another level of directories.
Example:
D:\Media\ is a normal folder containing the following subfolders:
D:\Media\Audio which is a standard folder
D:\Media\Video which is a NTFS junction that points to say E:\Videos\
Right clicking on D:\Media\ and selecting Share With -> Homegroup allows me to then access this media over the network.
On another PC that is joined to the Homegroup I have full access to everything contained in D:\Media\Audio (Since it is not a junction), however, I can only list the contents of D:\Media\Video and nothing more. I cannot go another level deep of listing or anything.
Manually inspecting the user permissions, I notice that all the folders contained in D:\Media\Video\ does not have the 'HomeUsers' permission. However the NTFS junction itself does have the 'HomeUsers' permission.
So I tried two things:
- Manually adding the 'HomeUsers' permission to the content that the NTFS junction is pointing to, i.e. everything in E:\Videos\ . This still leaves this content inaccessible.
- Manually adding the 'HomeUsers' permission to the content inside the NTFS junction, i.e. everything in D:\Media\Video\ . No love.
Can anyone suggest how I would overcome this issue? The junction is pointing to the location, but the junction itself is in your C:\users\....
You have to set the right permissions for the junction itself, not the content it's pointing to.
A side note:
Why not use libraries? Junctions are kind of obsolete since we have libraries.
good luck | My System Specs | | OS Win7 Build 7600 x86 CPU Pentium II 300MHz Motherboard Asus Memory 32mb EDO RAM Graphics Card Diamond Viper Sound Card Soundblaster 16 Monitor(s) Displays 14" AOC CRT 16K color Screen Resolution 800x600 Keyboard Trust Ergonomic Mouse Generic PSU 110 Watts Cooling Passive Hard Drives 300mb Quantum fireball Internet Speed 256K u 128K d |
09 Oct 2009
|
#4 | | |

Quote: Originally Posted by SquonkSC Why not use libraries? Good point.
Go to Libraries, right-click on Videos > Properties and then include any folders that have videos in them. | My System Specs | | System Manufacturer/Model Number Too many to list. OS XP, Seven, 2008R2 CPU AMD, Intel, VIA Motherboard Various Memory Corsair, Kingston, etc. Graphics Card ATI, NVIDIA Monitor(s) Displays Samsung Keyboard qwerty Hard Drives Maxtor, Western Digital Internet Speed 22 Mb/s @ home, 1 Gb/s @ server Other Info All of my systems still run fastest on XP 32-bit for the most part. Win7 is fun to play with, but I still prefer XP for raw speed, security, and functionality. |
10 Oct 2009
|
#5 | | |
Thanks guys I will give your advice a try quick and bring feedback. Quote: The junction is pointing to the location, but the junction itself is in your C:\users\....
You have to set the right permissions for the junction itself, not the content it's pointing to. That is what I did. Right clicking on the junction D:\Media\Video and inspecting the permissions does well list 'HomeUsers' and it is gray (meaning its inherited from the parent folder D:\Media\ which I shared to the HomeGroup). However if I then inspect the permissions of the content inside the junction (D:\Media\Video\*), no 'HomeUsers' is inherited anywhere. From another computer this gives me access to list the contents of D:\Media\Video\ but I am not able to do anything else. Quote: A side note:
Why not use libraries? Junctions are kind of obsolete since we have libraries. I'm not really fond of the way windows displays libraries. I tried adding multiple locations to one library on my laptop and then it doesn't always work very intuitively. For example if I open up the documents library with three sub-libraries, and I press ctrl-v to paste an object, it doesn't go into the library that is currently expanded but instead just always goes into the first library. Also I don't like the tree expand structure being used for each library, I prefer folders pointing to locations. Maybe I'm just picky, but little things can annoy me | My System Specs | | |
10 Oct 2009
|
#6 | | |

Quote: Originally Posted by sup3rsprt Hello,
I got it to work using a program called Junction Link Magic. Here is my setup:
Junction C:\Testshare\Videos pointing to F:\Videos
C:\Testshare is shared to Homegroup with read/write
Permissions on F:\Videos is "Authenticated Users" have full control. The folder itself is not shared.
From another computer I can list the contents of files and folders within it.
I hope that helps. Have you actually tried going another level deep instead of just listing the contents?
For example try to browse to C:\Testshare\Videos\SomeFolder\AnotherFolder\
(From another PC on the network ofcourse) | My System Specs | | |
10 Oct 2009
|
#7 | | |
The biggest problem here is that a junction's contents do not inherit permissions from its parent (the junction itself)! I don't know if this is intentionally made so or what but it is rather annoying.
I'll still appreciate any feedback | My System Specs | | |
10 Oct 2009
|
#8 | | Windows 7 Ultimate RTM (Technet) Charlotte, NC |

Quote: Originally Posted by jabalsad Thanks guys I will give your advice a try quick and bring feedback. Quote: The junction is pointing to the location, but the junction itself is in your C:\users\....
You have to set the right permissions for the junction itself, not the content it's pointing to. That is what I did. Right clicking on the junction D:\Media\Video and inspecting the permissions does well list 'HomeUsers' and it is gray (meaning its inherited from the parent folder D:\Media\ which I shared to the HomeGroup). However if I then inspect the permissions of the content inside the junction (D:\Media\Video\*), no 'HomeUsers' is inherited anywhere. From another computer this gives me access to list the contents of D:\Media\Video\ but I am not able to do anything else. Quote: A side note:
Why not use libraries? Junctions are kind of obsolete since we have libraries. I'm not really fond of the way windows displays libraries. I tried adding multiple locations to one library on my laptop and then it doesn't always work very intuitively. For example if I open up the documents library with three sub-libraries, and I press ctrl-v to paste an object, it doesn't go into the library that is currently expanded but instead just always goes into the first library. Also I don't like the tree expand structure being used for each library, I prefer folders pointing to locations. Maybe I'm just picky, but little things can annoy me  You have to specify which of the folders is your default save location. This is done in the same dialog where you add or remove folders from the library. | My System Specs | | System Manufacturer/Model Number Custom OS Windows 7 Ultimate RTM (Technet) CPU 3.00 gigahertz Intel Core2 Duo E8400 Motherboard ASUSTeK Computer INC. P5K/EPU Rev 1.xx Memory 4GB Graphics Card ATI Radeon X1950 Pro Sound Card Built in HD Audio Monitor(s) Displays 22" Gateway LCD Screen Resolution 1920 x 1200 Keyboard Logitech G11 Mouse Microsoft Wireless Laser Mouse 5000 Hard Drives ST3160023A [Hard drive] (160.04 GB) -- drive 0, rev 8.01, ST3500630AS [Hard drive] (500.11 GB) -- drive 2, rev 3.AAK
ST3500630AS [Hard drive] (500.11 GB) -- drive 1, rev 3.AAK Internet Speed 13.44 Mbps |
10 Oct 2009
|
#9 | | |
But that would still limit you to a single save location. Not to mention the weird tree-expand like view :P I prefer a folder type navigation.
Anyway, there are a lot of other reasons I don't want to use libraries. It still doesn't change the problem with ntfs junctions and why the contents don't inherit the permissions :/ | My System Specs | | |
10 Oct 2009
|
#10 | | Win7 Build 7600 x86 Netherlands |

Quote: Originally Posted by jabalsad For example if I open up the documents library with three sub-libraries, and I press ctrl-v to paste an object, it doesn't go into the library that is currently expanded but instead just always goes into the first library. Before you enter ctrl+v, you need to click on the folder you want to save it to, on the left pane of the explorer,
(where the small icons represent the tree).
In my example I have "my documents" and "favorites" under "documents" library.
If I want to copy a file into the favorites, i need to click on documents to expand the tree,
and then click on favorites, then ctrl+v. Quote: Also I don't like the tree expand structure being used for each library, I prefer folders pointing to locations. Maybe I'm just picky, but little things can annoy me  Tip:
Then you should use 1 library for 1 folder, instead of many folders in one library.
You can create your own libraries for each folder, just like you would create a junction.(minus the permissions problem)
Right-click on "libraries" in the left pane of the explorer, and chose -> new -> library
You can give it it's own name, it's own icon and view settings.
Try and see if that works for you.
Good luck | My System Specs | | OS Win7 Build 7600 x86 CPU Pentium II 300MHz Motherboard Asus Memory 32mb EDO RAM Graphics Card Diamond Viper Sound Card Soundblaster 16 Monitor(s) Displays 14" AOC CRT 16K color Screen Resolution 800x600 Keyboard Trust Ergonomic Mouse Generic PSU 110 Watts Cooling Passive Hard Drives 300mb Quantum fireball Internet Speed 256K u 128K d NTFS Junctions, Sharing and User Permissions problems? All times are GMT -5. The time now is 11:40 PM. | |