{"id":1249,"date":"2015-05-07T21:29:00","date_gmt":"2015-05-07T21:29:00","guid":{"rendered":"http:\/\/www.omniweb.com\/wordpress\/?p=1249"},"modified":"2015-05-07T21:29:00","modified_gmt":"2015-05-07T21:29:00","slug":"cant-upload-as-different-user-with-vsftp","status":"publish","type":"post","link":"https:\/\/www.omniweb.com\/wordpress\/?p=1249","title":{"rendered":"Can&#8217;t upload as different user with VSFTP"},"content":{"rendered":"<p>Running vsftpd on CentOS, a user was unable to upload a file to a folder for which the user had group permissions.<\/p>\n<p>Thanks to <a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=2158444\" title=\"ubuntu forums vsftp post\">this post here<\/a>, I was able to figure it out.<\/p>\n<p>Needed to edit vsftpd.conf and update to include the following lines:<\/p>\n<p><code>local_umask=002<br \/>\nfile_open_mode=0777<br \/>\nanon_upload_enable=YES<br \/>\nanon_mkdir_write_enable=YES<\/code><\/p>\n<p>After restarting vsftpd and making sure the relevant folders are group-writable, it works!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Running vsftpd on CentOS, a user was unable to upload a file to a folder for which the user had group permissions. Thanks to this post here, I was able to figure it out. Needed to edit vsftpd.conf and update &hellip; <a href=\"https:\/\/www.omniweb.com\/wordpress\/?p=1249\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1249"}],"collection":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1249"}],"version-history":[{"count":1,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1249\/revisions"}],"predecessor-version":[{"id":1250,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1249\/revisions\/1250"}],"wp:attachment":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}