glob() function call returning this error. Is it some kind of permission problem? I have changed into the code that if glob was aborted but if we get the ipsec.secrets file path don't return from the function and go to the next step of loading secrets. It works well. But how to solve glob() error: Function not implemented?