Junction point curiosity in XP

E

Edward Diener

I have a particular folder on a drive which is a junction point to a
target folder on another drive.

I can create new files or folders from within the junction point folder
and/or one of its subfolders, but if I try to delete a folder from the
junction point folder in Explorer, Explorer gives me a "Access is
denied" error. I can of course in Explorer delete the folder from the
actual target folder.

This baffles me since in all other aspects the junction point folder and
its target folder act as I had supposed they should.

Does anybody know why folder deletion in Explorer at the junction point
does not work in XP SP2 ?
 
B

Brian A.

Edward Diener said:
I have a particular folder on a drive which is a junction point to a target
folder on another drive.

I can create new files or folders from within the junction point folder and/or
one of its subfolders, but if I try to delete a folder from the junction point
folder in Explorer, Explorer gives me a "Access is denied" error. I can of
course in Explorer delete the folder from the actual target folder.

This baffles me since in all other aspects the junction point folder and its
target folder act as I had supposed they should.

Does anybody know why folder deletion in Explorer at the junction point does
not work in XP SP2 ?

How to set, view, change, or remove file and folder permissions in Windows XP
(Pro/Home)
http://support.microsoft.com/default.aspx?scid=kb;en-us;308418

HOW TO: Take Ownership of a File or Folder in Windows XP (Pro/Home)
http://support.microsoft.com/default.aspx?scid=kb;en-us;308421

How to set, view, change, or remove special permissions for files and folders in
Windows XP -
http://support.microsoft.com/default.aspx?scid=kb;en-us;308419

How to configure file sharing in Windows XP (Pro/Home)
http://support.microsoft.com/default.aspx?scid=kb;en-us;304040

How to disable Simple Sharing and set permissions on a shared folder in Windows
XP (Pro only)
http://support.microsoft.com/?kbid=307874

--


Brian A. Sesko { MS MVP_Windows Desktop User Experience }
Conflicts start where information lacks.
http://basconotw.mvps.org/

Suggested posting do's/don'ts: http://www.dts-l.org/goodpost.htm
How to ask a question: http://support.microsoft.com/kb/555375
 
E

Edward Diener

Brian said:
How to set, view, change, or remove file and folder permissions in
Windows XP (Pro/Home)
http://support.microsoft.com/default.aspx?scid=kb;en-us;308418

HOW TO: Take Ownership of a File or Folder in Windows XP (Pro/Home)
http://support.microsoft.com/default.aspx?scid=kb;en-us;308421

How to set, view, change, or remove special permissions for files and
folders in Windows XP -
http://support.microsoft.com/default.aspx?scid=kb;en-us;308419

How to configure file sharing in Windows XP (Pro/Home)
http://support.microsoft.com/default.aspx?scid=kb;en-us;304040

How to disable Simple Sharing and set permissions on a shared folder in
Windows XP (Pro only)
http://support.microsoft.com/?kbid=307874

What does any of the above have to do with my junction point question ?
 
A

AJR

Interesting - Junction points are relatively common in Windows 2000 -
usually when a Junction Point is created the ACLS is modified to prevent
"accidental" deletion.
 
E

Edward Diener

AJR said:
Interesting - Junction points are relatively common in Windows 2000 -
usually when a Junction Point is created the ACLS is modified to prevent
"accidental" deletion.

I am not trying to delete the junction point folder itself but rather a
folder under the junction point folder. Do junction points work so that
neither the junction point folder nor any subfolder of the junction
point folder can be deleted. If I try to delete a file in the junction
point folder or a subfolder of the junction point folder, there is no
problem.
 
B

Brian A.

Edward Diener said:
I am not trying to delete the junction point folder itself but rather a folder
under the junction point folder. Do junction points work so that neither the
junction point folder nor any subfolder of the junction point folder can be
deleted. If I try to delete a file in the junction point folder or a subfolder
of the junction point folder, there is no problem.

It's mentioned in many articles/sites different ways/software/utilities used
to create/delete junction points and deleting junction points in explorer is
dangerous.

http://groups.google.com/groups/search?hl=en&q=delete+junction+point+folder

http://en.wikipedia.org/wiki/NTFS_junction_point

http://support.microsoft.com/kb/205524

http://articles.techrepublic.com.com/5100-6346_11-5388706.html which has a
comment/link to:
http://techrepublic.com.com/5208-10878-0.html?forumID=102&threadID=202832&messageID=2110743
which has a link to:
http://www.pearlmagik.com/winbolic/

http://www.rekenwonder.com/linkmagic.htm

--


Brian A. Sesko { MS MVP_Windows Desktop User Experience }
Conflicts start where information lacks.
http://basconotw.mvps.org/

Suggested posting do's/don'ts: http://www.dts-l.org/goodpost.htm
How to ask a question: http://support.microsoft.com/kb/555375


 
E

Edward Diener

Brian said:

Ok, but I still do not agree that the end user should be protected from
himself. If one does not know that a junction point is a representative
of some other folder and that deleting the junction point, or anything
within it, is the equivalent of manipulating a target somewhere else,
then that it the end user's problem.

Thanks for the links !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top