Manage groups LINUX AMAZON AMI

1

I have a problem with the groups and their users, all from the creation of a blog for the site.

It turns out that for the blog to upload the multimedia archives, I had to give access to the blog folder to the user "apache".

Then, to load, download, and manage some parts of the blog I had to install vsftpd, as a consequence create an ftp user.

And well, to edit files (especially some lines of small code), access from SFTP using WinSCP.

So for the blog to work, I had to do this:

sudo chown -R apache /var/www/

There everything died, by FTP I can list the directories but I can not download or upload, by SFTP the same thing happens to me then ...

How can I create a group of users, for example to be called www and then, to that group of users, give permissions to my directory / var / www?

Thanks >. <

    
asked by Neftali Acosta 15.09.2018 в 23:09
source

0 answers