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. 支付宝修改回调地址后 issign=false

      原因: verifyReturn 拼接url的时候,php自动添加了url参数,而url是本不需要的,所以导致md5对比出错. 修改  alipay_notify.class.php  77行的函数 ...

    2. 汉字简体繁体转换----Javascript

      最近看到有个简体--繁体字互相转换的程序,是用JS实现的,感觉很好玩,所以拿来研究研究.先看看界面如下: 汉字简体繁体转换 // 0&&parent.frames.length) { ...

    3. Delphi Data Type to C# Data Type

      Delphi DataType C# datatype ansistring string boolean bool byte byte char char comp double currency ...

    4. Objective-C语法之代码块(block)的使用

      代码块本质上是和其它变量相似.不同的是,代码块存储的数据是一个函数体.使用代码块是,你能够像调用其它标准函数一样,传入參数数,并得到返回值. 脱字符(^)是块的语法标记.依照我们熟悉的參数语法规约所定 ...

    5. VS2013 安装phonegap

      https://www.microsoft.com/en-us/download/details.aspx?id=40783

    6. Codeforces Round #188 (Div. 2) A. Even Odds 水题

      A. Even Odds Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/contest/318/problem/ ...

    7. 关于android 图像格式问题

      这算是篇总结吧.6月份开始做的一个android上的ar项目结束了.我做的部分是二维码识别和图像识别的预处理.这个项目虽然很累,但是让我学到了很多东西,特别是严格的编码规则,和java代码的效率优化, ...

    8. 读《架构探险——从零开始写Java Web框架》

      内容提要 <架构探险--从零开始写Java Web框架>首先从一个简单的 Web 应用开始,让读者学会如何使用 IDEA.Maven.Git 等开发工具搭建 Java Web 应用:接着通 ...

    9. C++ Socket超时设置

      用winsocket时,send(),recv()过程中有时由于网络状况等原因,收发不能预期进行,可以设置收发时限:int nNetTimeout = 1000; //1秒//发送时限setsocko ...

    10. android调用系统相机拍照并保存在本地

      import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import j ...