[英]paste web application directory in /var/www permission error
I want to copy php web application directory from windows partition 我想从Windows分区复制php Web应用程序目录
C:/wamp/www/gestion
C:/ wamp / www / gestion
to Ubuntu partition /var/www, I get this message 到Ubuntu分区/ var / www,我收到此消息
the folder "gestion" cannot be copied because you do not have permissions to create it in the destination
无法复制文件夹“ gestation”,因为您没有在目标位置创建它的权限
in the terminal I have executed 在我执行的终端中
sudo chmod -R a+rwx /var/www
须藤chmod -R a + rwx / var / www
but always same error message I have displayed ls-l in var folder I have : 但总是在我拥有的var文件夹中显示ls -l的相同错误消息:
drwxrwxrwx 3 root root 4096 janv.
drwxrwxrwx 3根根4096 janv。 18 16:18 www
18 16:18 www
Run 跑
sudo chmod 777 -R /var/www/
WARNING!!! 警告!!! This is a security risk.
这是安全隐患。 Change it to a more secure permissions structure once you are done.
完成后,将其更改为更安全的权限结构。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.