Closed wwforg closed 10 years ago
@ZAM- to add some more information, files are configured to be created with 0664
permissions and directories 0775
. All files and folders in /var/TeamworkEnglewoodGit/
are owned by www-data
, the Apache user. I see no reason why it would not be able to create the directory.
@wwforg what is the exact error message you are getting?
@wwforg also provide steps to reproduce this problem.
ErrorException mkdir(): Permission denied
and it happens on line 256 of the FileSystem Model:
mkdir($userPath, Config::get('filesystem.permissions.directory'), true); // RW for user
Same as last time
I get this problem when I attempt to do my normal login flow on the server. I login with GitHub, it redirects back, i get the token and userdetails, but when it gets to where I call Zacs sshKeyGen, it throws this error
It did not happen when I tried to log in.
I believe you meant line 296 of FileSystem.php. I believe it's trying to create the key in your systems root directory, which it might not have permissions for
@ZAM- I pulled the latest version of the project, did rm -rf data like mike said to do but when I call your sshKeyGen i still get the mkdir permission denied error. Do I need to commit the data folder from the project? It's currently in the gitignore file.