1. 开发环境:vagrant 1.7 + centos 6(i386) + LAMP
  2. Drupal版本:7.53

在vagrant LAMP开发环境中,给Druapl安装模块时,显示WARNING: You are not using an encrypted connection, so your password will be sent in plain text的错误信息。

百度找了这个问题,使用

sudo chown -R www:www /path/to/drupal/

的方法,运行类似的命令之后,

再次ll之后,拥有者还是vagrant.

解决方法是,修改 vangrant 共享文件夹的 拥有者和用户组

修改vagrant 共享文件夹的权限

修改Vagrantfile中共享文件夹配置config.vm.synced_folder的拥有者和用户组,如:

config.vm.synced_folder "D:/developphp", "/var/www/html"

改为

config.vm.synced_folder "D:/developphp", "/var/www/html", :owner => "apache", :group => "apache"
Tips
  1. 可以通过sudo cat /etc/passwd列出系统的所有用户
参考文献
  1. Can I modify the ownership for a shared folder in vagrant? 明白vagrant修改共享文件夹的拥有者和用户组
  2. "Cannot connect to FTP Server, check settings" After trying to upload a Theme 提到,拥有者和用户组,可能不是www:wwwwww-data:www-data,可能是apache:apache(work for me

    vagrant WARNING: You are not using an encrypted connection的更多相关文章

    1. OpenFaaS实战之八:自制模板(maven+jdk8)

      欢迎访问我的GitHub https://github.com/zq2599/blog_demos 内容:所有原创文章分类汇总及配套源码,涉及Java.Docker.Kubernetes.DevOPS ...

    2. OpenFaaS实战之九:终篇,自制模板(springboot+maven+jdk8)

      欢迎访问我的GitHub https://github.com/zq2599/blog_demos 内容:所有原创文章分类汇总及配套源码,涉及Java.Docker.Kubernetes.DevOPS ...

    3. How To Set Up an OpenVPN Server on Ubuntu 14.04

      Prerequisites The only prerequisite is having a Ubuntu 14.04 Droplet established and running. You wi ...

    4. Using SSH on Linux

      This document covers the SSH client on the Linux Operating System and other OSes that use OpenSSH. W ...

    5. https那些事儿

      (一)SSL/TLS协议运行机制的概述 一.作用 不使用SSL/TLS的HTTP通信,就是不加密的通信.所有信息明文传播,带来了三大风险. (1) 窃听风险(eavesdropping):第三方可以获 ...

    6. 安全通信 QSslSocket

      The QSslSocket class provides an SSL encrypted socket for both clients and servers. More... Header: ...

    7. KVM网页管理工具WebVirtMgr部署

      KVM-WebVirtMgr 0ther https://github.com/retspen/webvirtmgr/wiki System Optimization(Only CentOS6.X) ...

    8. ZooKeeper Administrator's Guide A Guide to Deployment and Administration(吃别人嚼过的馍没意思,直接看官网资料)

      Deployment System Requirements Supported Platforms Required Software Clustered (Multi-Server) Setup ...

    9. Configure GenieACS

      GenieACS General Config config.json acts as the main configuration file and is stored in /path_to_ge ...

    随机推荐

    1. Oracle:递归查询(树形结构数据)

      今天要做一个查询功能:查询某用户所属部门,且包含该部门的所有上级部门信息.偶然找到了一个方法,特意来做个笔记.分享给和我一样的菜鸟,哈哈 查询子节点 1 select * 2 from d_arc_d ...

    2. 【转】深入浅出REST

      转自:http://www.infoq.com/cn/articles/rest-introduction 不知你是否意识到,围绕着什么才是实现异构的应用到应用通信的“正确”方式,一场争论正进行的如火 ...

    3. jQuery循环滚动新闻列表

      最近由于项目原因,学习了下jquery,实现了一个小小的功能,就是点击公告的上一条下一条来查看滚动条.具体代码如下: <!DOCTYPE html PUBLIC "-//W3C//DT ...

    4. Codeforces Gym 100015F Fighting for Triangles 状压DP

      Fighting for Triangles 题目连接: http://codeforces.com/gym/100015/attachments Description Andy and Ralph ...

    5. Codeforces Round #338 (Div. 2) E. Hexagons 讨论讨论

      E. Hexagons 题目连接: http://codeforces.com/contest/615/problem/E Description Ayrat is looking for the p ...

    6. hihocoder #1179 : 永恒游戏 暴力

      #1179 : 永恒游戏 Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://hihocoder.com/problemset/problem/11 ...

    7. Fox Roddick interviw Federer before 2013 US Open

      talk about  Mike Jordan , talk about Tiger Woods, their competitor when people discuss you I love wi ...

    8. 一个简单的弹出层ProgressBar

      https://github.com/eltld/SimpleLoading

    9. [Angular 2] Angular 2 Smart Components vs Presentation Components

      Both Smart Components and Presentation Components receive data from Services in entirely different w ...

    10. ios开发——错误总结篇&开发中常见错误和警告总结(四)

      ios开发——开发总结&开发中常见错误和警告总结(四) 网易彩票实战总结(错误) 错误总结之类的实现 经典错误之重复定义与导入错误 经典错误关于父类的实现 通知对象: 控制器的定义 Xcode ...