New Snapin - Cannot change directory
-
Hello.
Server: Centos 7
FOG: You’re running the latest dev-branch version: 1.5.9-RC2.8When I try Creating a new snapin I get the following error:
Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 464, Message: ftp_login(): OOPS: cannot change directory:/home/fogproject, Host: 192.168.43.17, Username: fogproject
Checked the .fogsettings file, Storage settings and tftp Settings, both user and password seem to be identical.
Re-Ran the installfog.sh
Reset the password for the fogproject user to make sure its what i thought it should be.
What am I doing wrong?
Thanks for your ongoing support.
-
@Taspharel Can you make the folder:
chown -R fogproject:fogproject /home/fogproject
I don’t know who admin_ha is.
-
Just noticed, similar error when trying to do a kernel update:
Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 464, Message: ftp_login(): OOPS: cannot change directory:/home/fogproject, Host: 192.168.43.17, Username: fogproject
-
Did somebody delete the
/home/fogproject
folder?That seems to be what happened here.
-
-
@Taspharel is selinux running? And enforcing? Can you set to permissive and see if that works?
-
-
@Taspharel You shouldn’t need to do anything special.
What’s the permissions for that directory?
-
-
@Taspharel Can you make the folder:
chown -R fogproject:fogproject /home/fogproject
I don’t know who admin_ha is.
-
It works now. Great!!
That would be my user on the fog machine. No idea why that user became the owner, wouldnt the install script set permissions to the fogproject user?
Or does the output from ls mean something different?
-
@Taspharel Only when initially created yes. I don’t think it resets the permissions after.