GlobalSCAPE Website
Products Solutions Downloads Support Store News GlobalSCAPE Blog Company

GlobalSCAPE User Forum

Forums Register Login My Profile Inbox Address Book My Subscription My Forums

Member List Search Calendars FAQ Ticket List Log Out

Migrating Folder/User Permissions

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [EFT Server] >> EFT Server Scripting >> Migrating Folder/User Permissions Page: [1]
Login
Message << Older Topic   Newer Topic >>
Migrating Folder/User Permissions - 4/6/2009 12:53:33 PM   
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
Post #: 1
Page:   [1]
All Forums >> [EFT Server] >> EFT Server Scripting >> Migrating Folder/User Permissions Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.5.5 Unicode

0.078