Help with My.Computer.FileSystem?

  • Thread starter Thread starter Jesse
  • Start date Start date
J

Jesse

I've got two directories on the same server, like this:

\Public [everyone can read/write]


\Private [only Joe can read/write]



I want to move the directory \Private\myDir into \Public. After I move it, I
want it to inherit access permissions from \Public, so everyone can
read/write the files in \Public\myDir. I try:

My.Computer.FileSystem.MoveDirectory ("\Private\myDir", "\Public")

....but now I get \Public\myDir -- with the permissions from Private (only
Joe can read/write). It doesn't inherit the new parent folder's permissions.
Copying the directory is not an option; it's too big.

What's the right way to do this?

Thanks!


--
 
Back
Top