Home > OS >  The influence of cp, mv of Apache server
The influence of cp, mv of Apache server

Time:01-29


From win10 upload a directory test to the/root directory,
If you execute the cp -r/root/test/var/WWW/HTML, then the server page can see/test and the inside of the file,
If you execute the mv/root/test/var/WWW/HTML, then the server page can only see the/test directory, while viewing the files inside page shows 403
Dear leaders, is this why? Thank you very much!

CodePudding user response:

Pay attention to the file permissions, don't change the permissions, mv cp will change,
  • Related