bostontechguy
Posts: 2
Joined: 4/6/2009
Status: offline
|
Hello, First question, I have come into a situation that I need to migrate folders and users permissions from one directory to another. I am looking for a quick way to do this. Hopefully using a script to do it, by "coping" the name of the sub folders under the "USR" directory over to another directory. Example would be: "/usr/<folders>" copy to "/newusr/<folders>". I dont want to do a copy in Windows. I want to stay within the parameters of using Globalscape. Then I want to migrate the users over to the folders that I have just created. Second, I also want to remove the option of inheriting parent permissions on these folders without wiping out the users custom permissions. I used the line from the help and other posts: Call osite.SetPermission(pFolder, TRUE) While this did remove the inheriting, it also wiped out every user for the folder. This wont work in my case as each user has access to their own folder. We are talking almost a thousand users. Thanks, Boston Tech Guy
|