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. 读写锁:ReadWriteLock

      http://my.oschina.net/20076678/blog/173165   一.在JDK文档中关于读写锁的相关说明 ReadWriteLock 维护了一对相关的 锁 ,一个用于只读操作, ...

    2. PropertiesUtil 读取配置文件工具类

      package org.konghao.basic.util; import java.io.FileInputStream; import java.io.FileNotFoundException ...

    3. C#获取程序集的版本号和最后编译时间

      C#获取程序集的版本号:string ver = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToStrin ...

    4. cocos2d-x android黑屏后返回游戏卡顿

      转自:http://blog.csdn.net/wolfking_2009/article/details/8824931 2013年5月17日更新:对于之前说的资源释放问题,cocos2d-x 2. ...

    5. WatchKit App Submission Issues

      查看原文: http://leancodingnow.com/watchkit-app-submission-issues/ I submitted a new version of my app P ...

    6. 惊叹jQuery(解决jQuery对象到DOM的转换)

      jQuery是一个javascript框架,但绝对不是通常意义上的一些包装,个人感觉是一个改变js控制方式的框架.我们可以像美工通过写css分离页面代码一样,通过jQuery来分离页面与效果..下面转 ...

    7. Android中Webview使用javascript调用事先定义好的Java函数

      1. 首先定义好一个类,专们用于给javascript调用 public class JavaScriptInterface { // share your news public void shar ...

    8. BZOJ 1061: [Noi2008]志愿者招募 费用流

      1061: [Noi2008]志愿者招募 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=1061 Description 申奥成功后,布布 ...

    9. Codeforces Round #313 (Div. 1) A. Gerald's Hexagon 数学题

      A. Gerald's Hexagon Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/contest/559/p ...

    10. C#MongoDB 分页查询的方法及性能

      传统的SQL分页 传统的sql分页,所有的方案几乎是绕不开row_number的,对于需要各种排序,复杂查询的场景,row_number就是杀手锏.另外,针对现在的web很流行的poll/push加载 ...