1

I have a Ubuntu 16.04 server in Amazon web services, I have apache installed and a project in the /html folder, there is a logs/ folder in the project, apache writes log errors and debug messages inside this folder.

I have created a user in Ubuntu which my developers will have access I want them to access only the logs folders and be able to modify its contents.

They are going to get in using winSCP and see the log files contents I have modified the sshd_config file but when I give the logs folders 755 permissions my developers are able to login using winSCP but apache is not able to write log files If I give the 755 permission apache is able to but developers are not able to login.

How can I achieve the solution?

  • Can this blog post help? – Ben Dec 6 '17 at 22:48
  • You have given two contradictory descriptions of what happens when you set the permission to 755. Who is the owner of these files? – muclux Dec 7 '17 at 7:01
  • @muclux root is the owner – Diego Dec 7 '17 at 16:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.