Fixed set error on Fedora and permissions