otrs.SetPermissions.pl - Skip Article Folder

Moderator: crythias

Locked
jeffbourassa
Znuny newbie
Posts: 12
Joined: 26 Jan 2013, 05:31
Znuny Version: 3.1.12
Real Name: Jeff Bourassa
Company: SMGI

otrs.SetPermissions.pl - Skip Article Folder

Post by jeffbourassa »

Hi All

I am working on migrating a large 3.2.6 OTRS install on OpenSuse to Ubuntu.

I am looking for ideas on speeding up or splitting apart the SetPermissions.pl script. At present due to the size of our article folder - running the SetPermissions.pl script takes close to 12hrs. I would like to break it into a script that just does the permissions on the /article folder and a script that does permissions on all other folders as normally (just skipping the /article folder). With this I can bring OTRS online knowing that there will be errors until the article folder has the correct permissions but for new incoming tickets we will be working normally.

We have close to 20million files in the /article folder, 800Gb - so parsing through that takes considerable time.

Any ideas would be great!

Jeff
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: otrs.SetPermissions.pl - Skip Article Folder

Post by jojo »

OTRS4 will have this functionality
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked