(コメント)
Goofys でマウントしたボリュームが他のユーザーから見れない場合
これを行ってないと、他ユーザーがマウントしたボリュームはたとえ root で見ても permission denied になる。
/etc/fuse.conf の、user_allow_other を有効にする。
ansible だと
- lineinfile:
path: /etc/fuse.conf
insertafter: '#user_allow_other'
line: 'user_allow_other'
become: yes
こんなの。
goofys コマンドで、-o allow_other を入れる。
bashだと
killall goofys
sleep 1s
export GOPATH=/usr/local/golang
sudo -u ubuntu ${GOPATH}/bin/goofys -o allow_other --region ap-northeast-1 your-s3-backet-name /mnt/your-mountpoint
テスト方法例
sudo -u www-data ls /mnt/your-mountpointTwitterでシェア Facebookでシェア
これまでいろんなグッズを作ってきたけど、今回は「お米」と聞いて買うしかないなと。今夜の夕食はコシヒカリ!箸もセットだし^^ https://t.co/01ucQx9qtw #腰乃展 #マンガ展 https://t.co/4VL2vOe0Og
6 ヶ月 前
講談社さんとやった全部入り電子書籍セットがギネスブックに登録されたよー https://t.co/rbkd3IYub0
6 ヶ月 前
コメント