Gary Stainburn
2017-Oct-04 08:53 UTC
[CentOS] how to prevent files and directories from being deleted?
On Wednesday 04 October 2017 09:42:13 Anand Buddhdev wrote:> There's no need to do that (and it's also messy). Instead, if a package > needs a directory to exist in /var/run, then create your own config for > systemd-tmpfiles, and drop it into /etc/systemd/tmpfiles.d. Work with > CentOS 7, instead of fighting with it. > > AnandI saw reference to system-tmpfs in Paul's post so I had a quick look. YUM doesn't seem to know about it, but I'm sure Google will help.
Gary Stainburn
2017-Oct-04 08:58 UTC
[CentOS] how to prevent files and directories from being deleted?
On Wednesday 04 October 2017 09:53:59 Gary Stainburn wrote:> I saw reference to system-tmpfs in Paul's post so I had a quick look. YUM > doesn't seem to know about it, but I'm sure Google will help.Sorry, meant systemd-tmpfiles
Anand Buddhdev
2017-Oct-04 09:57 UTC
[CentOS] how to prevent files and directories from being deleted?
On 04/10/2017 10:58, Gary Stainburn wrote:> On Wednesday 04 October 2017 09:53:59 Gary Stainburn wrote: >> I saw reference to system-tmpfs in Paul's post so I had a quick look. YUM >> doesn't seem to know about it, but I'm sure Google will help. > > Sorry, meant systemd-tmpfilesOn a CentOS 7 system, do: man systemd-tmpfiles man tmpfiles.d Those 2 manpages together explain everything you need to know about creating temporary files and directories in /run at boot time. If you search google, you'll probably end up at online versions of those same man pages. Regards, Anand
Apparently Analagous Threads
- how to prevent files and directories from being deleted?
- how to prevent files and directories from being deleted?
- how to prevent files and directories from being deleted?
- how to prevent files and directories from being deleted?
- how to prevent files and directories from being deleted?