New Snapin - Cannot change directory
-
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.
-
Doesn’t look like it
-
@Taspharel is selinux running? And enforcing? Can you set to permissive and see if that works?
-
This is what I get from sestatus:
So it seems its set to permissive already? Shall I deactivate?
I am not Linux native so sorry for any confusions that may arise. Thanks for taking the time!!
-
@Taspharel You shouldn’t need to do anything special.
What’s the permissions for that directory?
-
Is it this from ls -ld fogproject (run from the home 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.