报错如下:sftp> put play.zip ./Uploading play.zip
to /opt/library/./play.zipremote open("/opt/library/./play.zip"): Permission
denied原因:sftp登录以后当前所在目录的owne...
分类:
其他好文 时间:
2014-05-10 01:59:10
阅读次数:
828
刚安装了Ubuntu 14.04 server的虚拟机,普通帐号可以远程登录,但是root不行,输入密码后一直报错:permission denied最后发现ssh的配置(/etc/ssh/sshd_config)不大一样,14.04的默认配置是:PermitRootLogin without-password
要改成PermitRootLogin yes重启服务即可:restart ssh...
分类:
其他好文 时间:
2014-05-07 15:52:02
阅读次数:
359
G++ 2.91.57,cygnus\cygwin-b20\include\g++\stl_stack.h 完整列表
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its do...
分类:
其他好文 时间:
2014-05-07 07:40:07
阅读次数:
322
G++ 2.91.57,cygnus\cygwin-b20\include\g++\stl_queue.h 完整列表
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its document...
分类:
其他好文 时间:
2014-05-06 22:22:55
阅读次数:
402
selinux限制apacheexec执行cgi一、起因某日发现smokeping访问失败,发布的apache进程不存在;在/usr/local下找不到任何apache文件,怀疑apache是rpm安装,使用/etc/init.d/httpd启动后果真listen8001端口···二、排查1、获取error日志的关键内容启动后尝试刷新8001下的smokep..
分类:
系统相关 时间:
2014-05-06 16:39:10
阅读次数:
689
找到\xampp\apache\conf\httpd.conf配置文件Access
forbidden!You don’t have permission to access the requested directory. There is
either no index document or ...
分类:
其他好文 时间:
2014-05-04 11:12:23
阅读次数:
336
1、添加权限:AndroidManifest.xml中必须使用许可”android.permission.INTERNET”,否则会出Web page not available错误。
2、在要Activity中生成一个WebView组件:WebView webView = new WebView(this);
3、设置WebView基本信息:...
分类:
移动开发 时间:
2014-05-01 18:19:58
阅读次数:
480
java.lang.SecurityException: Requires
READ_PHONE_STATE: Neither user 10088 nor current process has
android.permission.READ_PHONE_STATE.今天写了一款发短信的软件,拿了...
分类:
移动开发 时间:
2014-04-29 18:16:15
阅读次数:
1324
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
...
分类:
其他好文 时间:
2014-04-29 13:28:21
阅读次数:
398
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
...
分类:
其他好文 时间:
2014-04-29 13:13:21
阅读次数:
309