<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pinkumohikan</author_name>
  <author_url>https://blog.hatena.ne.jp/pinkumohikan/</author_url>
  <blog_title>モヒカンメモ</blog_title>
  <blog_url>https://blog.pinkumohikan.com/</blog_url>
  <categories>
    <anon>Linux/Unix</anon>
    <anon>エンジニアリング</anon>
  </categories>
  <description>crontabファイルを etc/cron.d へ置いても期待通り動かなかったことがあって調べたメモ まとめ /etc/cron.dへ置くファイルは ownerは、rootでなければならない permissionは、owner以外に書き込み権限があってはならない 検証 ownerがroot、かつowner以外のwrite権限無しなら怒られない $ sudo tee /etc/cron.d/hoge &lt;&lt; EOM &gt; * * * * * root echo 'hoge' &gt; /dev/null &gt; EOM * * * * * root echo 'hoge' &gt; /dev/null $ sudo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.pinkumohikan.com%2Fentry%2Fetc-cron.d-has-restriction-for-permission-and-owner&quot; title=&quot;/etc/cron.dへ置くファイルにはownerとpermissionに制約があるっぽい - モヒカンメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/p/pinkumohikan/20170708/20170708185525.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-07-08 18:58:52</published>
  <title>/etc/cron.dへ置くファイルにはownerとpermissionに制約があるっぽい</title>
  <type>rich</type>
  <url>https://blog.pinkumohikan.com/entry/etc-cron.d-has-restriction-for-permission-and-owner</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
