简体   繁体   English

将Web应用程序目录粘贴到/ var / www权限错误

[英]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.

相关问题 var / www / html目录的权限 - permission for var/www/html directory Laravel 错误:“/var/www/html/DocApp/storage/logs”中没有现有目录,并且它不可构建:权限被拒绝 - Laravel Error: There is no existing directory at "/var/www/html/DocApp/storage/logs" and its not buildable: Permission denied 为什么不能将网页保存到我的/ var / www目录中? - Why can't save the web page into my /var/www directory? 无法创建目录“/var/www/html/frontend/runtime/cache”:mkdir():权限被拒绝 - Failed to create directory “/var/www/html/frontend/runtime/cache”: mkdir(): Permission denied git push到var / www / application - git push to var/www/application / var / www中拒绝了符号链接权限 - Symbolic Link Permission Denied in /var/www 我无法将PHP中的文件复制到apache2 Web服务器中/ var / www之外的另一个目录中 - I can not copy a file in PHP to another directory out of /var/www in my apache2 web server Magento错误:无法创建目录'/ var / www / html / magento / media / tmp / catalog / product' - Magento error: Unable to create directory '/var/www/html/magento/media/tmp/catalog/product' 从/ etc / images目录而不是/ var / www目录访问映像 - Accessing Images from /etc/images directory instead of /var/www directory 如何解决错误“[ErrorException] file_get_contents(/var/www/laravel/.env): failed to open stream: No such file or directory”? - How to resolve the error "[ErrorException] file_get_contents(/var/www/laravel/.env): failed to open stream: No such file or directory"?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM