Restore not identical

I messed up some files so I figured I would just restore to my latest snapshot from this morning. But now my web server isn’t working right so apparently the restored system isn’t 100% identical to before.

Specifically, Apache is complaining about permission problems although the permissions are the same as before. Does a restore not restore SELinux settings or something like that?

Thanks…

2 Replies

IIRC, Backups/Restores are file-level, and preserve owner/group, Unix permissions, and time stamps. I’m pretty confident they don’t include any selinux labeling (Linode’s official distro images have historically had SELinux disabled, not sure if that’s still the case).

Yes, I found that I needed to rerun

chcon -R -t httpd_sys_content_t /home/*

to allow apache to access /home.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct