タグ

Permissionに関するkazuph1986のブックマーク (2)

  • Mac OS X の cron で SSH に失敗する. - yuyarinの日記

    問題 cron で定期的にサーバに ssh して何かコマンドを実行したいという時があると思いますが,そのまま設定すると失敗します.公開鍵を正しく設定していても Permission denied と怒られます. Permission denied (publickey,keyboard-interactive). v オプションでデバッグすると秘密鍵が読めないということが分かりますが,シェルから実行しても問題は起きないのに cron からだと起きます. 原因と解決策 これは cron の実行時に ssh-agent の環境変数 SSH_AUTH_SOCK が設定されていないのが原因で,この値を crontab に設定してあげるとうまくいきます. % env | grep SSH_AUTH_SOCK SSH_AUTH_SOCK=/tmp/launch-gLshX6/Listeners# cr

    Mac OS X の cron で SSH に失敗する. - yuyarinの日記
  • Removal of offline_access Permission - Facebook開発者

    Access_tokens allow users to interact with your apps in meaningful and social ways. While we are deprecating the use of the offline_access permission, through a migration setting in the Developer App, we are now allowing the option to reset the expiration time for existing, valid access_tokens each time a user interacts with your site. For existing apps, there are no changes required for your app,

    kazuph1986
    kazuph1986 2012/05/01
    "updated 4/30/2012 - After the offline_access removal date, currently set for 7/5/2012 , all existing offline_access access_tokens will have their expiration time truncated to 60 days. "
  • 1