惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
博客园 - 聂微东
Application and Cybersecurity Blog
Application and Cybersecurity Blog
MyScale Blog
MyScale Blog
罗磊的独立博客
H
Help Net Security
L
LangChain Blog
T
Threat Research - Cisco Blogs
量子位
S
Securelist
Last Week in AI
Last Week in AI
L
Lohrmann on Cybersecurity
T
The Exploit Database - CXSecurity.com
P
Privacy International News Feed
The Hacker News
The Hacker News
Vercel News
Vercel News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Blog of Author Tim Ferriss
T
Threatpost
Security Latest
Security Latest
P
Palo Alto Networks Blog
Microsoft Security Blog
Microsoft Security Blog
NISL@THU
NISL@THU
F
Full Disclosure
WordPress大学
WordPress大学
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Heimdal Security Blog
J
Java Code Geeks
Recorded Future
Recorded Future
Hugging Face - Blog
Hugging Face - Blog
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
阮一峰的网络日志
阮一峰的网络日志
U
Unit 42
B
Blog RSS Feed
月光博客
月光博客
C
Cisco Blogs
V
Visual Studio Blog
D
DataBreaches.Net
H
Hacker News: Front Page
博客园 - 叶小钗
N
News and Events Feed by Topic
爱范儿
爱范儿
A
Arctic Wolf

文件夹权限 on 老刘博客

暂无文章

用lnmp安装thinkphp类的程序,文件夹没有权限
老刘 · 2023-04-06 · via 文件夹权限 on 老刘博客

前几天在安装CRMEB商城的时候,由于不想再用宝塔了,先是选择oneinstack,但是会有一些问题,比如,用www用户无法在终端运行php等。后来就使用军哥开发的lnmp。却又碰到了一个问题,那就是所有的文件夹,在设置玩读写权限后,依然之后public这个文件夹有读写的权限。这就很郁闷了,难道最终还必须上宝塔?

xxx

网上搜了一些教程,都是解决不了问题的。后来还是在lnmp.org的网站上找到了答案,感觉应该是设置了防跨站引起的,但是当时我已经把 .user.ini给删除了,看了那篇文章后才发现,光删除文件还不够,还需要在nginx的配置中进行设置。不过一个最简单的方法是,lnmp的开发者已经想到了这个问题,可以用lnmp自带的小工具脚本来解决。

解决方法:

打开终端软件,连上服务器。

cd lnmp1.9
cd tools
./remove_open_basedir_restriction.sh

结束,再安装,权限一点问题都没有了。