OSDN Git Service

サーバー処理再々改修。
authormatsuand <30614168+matsuand@users.noreply.github.com>
Wed, 11 May 2022 13:05:44 +0000 (22:05 +0900)
committermatsuand <30614168+matsuand@users.noreply.github.com>
Wed, 11 May 2022 13:05:44 +0000 (22:05 +0900)
commit88711caa85940947166ec310d583c00274759d2f
treedc938724247c454f3fa947aa26509f26c1aa0900
parent3eebab046cb746bc2369e0a5f273fb007f6778fa
サーバー処理再々改修。

* Makefile, www/Makefile: rsync 処理におけるエラー、failed to set times
  on "dir": Operation not permitted (1) エラー解消にあたり二転三転しながら
  rsync の --omit-dir-times オプションを取り除く対処をしたが、
  再々度、本オプションをつけることに。どうやらグループの書き込み権限が
  があってもディレクトリ修正時刻の書き換えはできず、所有ユーザーが一致
  しないとダメな様子。

  本来的な解決として crontab の実行コマンドの頭に "newgrp linuxjm &&"
  をつけて対処すると、その都度サブシェルが実行されてしまう様子であるため
  不適切。sg linuxjm に切り替える

  ; m h  dom mon dow   command
  33 */6 * * * sg linuxjm /home/groups/l/li/linuxjm/jm.git/admin/cron/webupdate.sh
  3 1 15 * * sg linuxjm /home/groups/l/li/linuxjm/jm.git/admin/cron/webupdate-all.sh
Makefile
www/Makefile