Help with My.Computer.FileSystem?

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!


--
 

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