Saturday, January 31, 2015

how to mount s3 for website write

find uid and gid
id -i www-data
id -g www-data

chmod -R 1777 /file_name

sudo s3fs ot-cdn /var/www/ot/cdn -o uid=1000,gid=33,use_rrs=1,allow_other,default_acl=public-read,umask=002,use_cache=/home/ubuntu/cdn


No comments:

Post a Comment