Dear users/developers/support,

I’d like to ask if there is a fast way to manipulate the permission mask of many files (millions).

 

I tried on 900k files and a recursive chmod (chmod 0### -R path) takes about 1000s, with about 50% usage of mmfsd daemon.

I tried with the perl’s internal function chmod that can operate on an array of files, and it takes about 1/3 of the previous method. Which is already a good result.

 

I’ve seen the possibility to run a policy to execute commands, but I would avoid to execute external commands through mmxargs, 1M of times; would you ?

 

Does anybody have any suggestion to do this operation with minimum disruption on the system ?

 

Thank you,

 

    Alvise