User Management in CentOS 7 and Apache Server

Job ID: 34764298

Budget: ₹1,250 – ₹2,500 INR

We have AWS EC2 instance

Installed == CentOS 7 & Apache Server

We have created a User and that user can not write but is also able to move the upper directory


But we want user should not move the anywhere in upper directory


1) root
2) centos
3) apache

currently, we have the above user has access to the web directory "/var/www/html/abc/" as well as other

If we add the user by name "user1" then then it can access, read-write "/var/www/html/abc/" but should not move in html directory

Example : user1 has access of "/var/www/html/abc/" i.e. abc directory
then user1 can read , write and delete in abc but user1 should not move
upper directory i.e. html
user1 should work in a limited area

our website runs on abc direcory hence apache user has also access to abc directory

in this case, our website should be run and user1 should access only abc directory

Note: Use SSH and SFTP
Related categories: PHP System Admin Linux Apache Nginx