Sunday, November 22, 2015

centos7 - Apache and Pure-FTP permission problems

I have create a small LAMP server with Apache 2.4 and PureFTP but i have configured the folder of user /home/user1/ with chmod permission username:username for pureftp in this case via filezille i can edit and upload file but apache can't read or write file, if config apache:apache or root:root all work but via fizilla i can't upload or edit file.



I'm not that good with permission and this is my first LAMP installation =)



File permission for folder 755 and 644 for files, user and group for /home is root for /home/username is the respective user.



Run apache with nobody user and nobody group



etc/passwd for nobody: nobody:x:99:99:Nobody:/:/sbin/nologin

etc/group for nobody: nobody:x:99:



Please can you help me?



I use Centos 7 x64.



Thanks.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...