I'm new to linux, but I'm learning! I'm running CentOS 6.7 with nginx and I'm trying to get vsftpd to work. I can log in via FTP okay, but when I try to write a file, I get an 553 Could not create file error.I'm using the ftp username ftpuser1 that belongs to the group nginx.My html root directory is chown'd to nginx:nginx. If I chown ftp1user1 to the html root directory, then I can write without any issues:chown -R ftpuser1:nginx /usr/share/nginx/htmlBut, I need the owner to be nginx:nginx.The directories are chmod'd to 755. If I chmod them to 775, it'll work as nginx:nginx because ftpuser1 is part of the nginx group. But, I want this to work with the directories chmod'd to 755 for better security, so I need to add the ftpuser1 as an owner.So, how can I chown nginx:nginx AND ftpuser1:nginx to /usr/share/nginx/html at the same time so that I can write via FTP?
vsftpd, 553 Could not create file. How do I chown two different users?
linux;centos;permissions;vsftpd;chown