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

推荐订阅源

Vercel News
Vercel News
N
Netflix TechBlog - Medium
C
Check Point Blog
MyScale Blog
MyScale Blog
The GitHub Blog
The GitHub Blog
Blog — PlanetScale
Blog — PlanetScale
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
I
InfoQ
Hugging Face - Blog
Hugging Face - Blog
Recent Announcements
Recent Announcements
人人都是产品经理
人人都是产品经理
腾讯CDC
V
Visual Studio Blog
Engineering at Meta
Engineering at Meta
T
The Blog of Author Tim Ferriss
V
V2EX
云风的 BLOG
云风的 BLOG
Microsoft Azure Blog
Microsoft Azure Blog
U
Unit 42
B
Blog

博客园 - _海阔天空

七牛云如何设置视频外链 GitHub项目推荐--GStack:将Claude Code转变为按需召唤的专业团队 openclaw安装 谷歌开源命令行神器 Gemini CLI 给 Claude Code 加了个状态栏,效率真的不一样!! claude hooks钩子使用 Windows下 claude skills superpowers、planning-with-files安装 Claude Code需求分析 Apifox 发请求时如何自动获取Cookie 和 token answer问答平台安装流程 torch轮子下载 Claude Code GLM-4.7 Trae 使用Trae配置MySQL MCP智能体进行数据库 oh my zsh 安装参考 Windows 解决PowerShell使用wget/curl出现二义性错误 deepseek使用集合 浏览器扩展 Zotero Connector 使用Ollama本机部署Deepseek R1:14b sudo: apt-get: command not found
解决rm: cannot remove `.user.ini’: Operation not permitte...
_海阔天空 · 2025-07-25 · via 博客园 - _海阔天空

https://blog.csdn.net/zdw19861127/article/details/121021614

执行删除时报错:

rm: cannot remove `.user.ini': Operation not permitted

无法删除。

解决方法
进入到.user.ini所在目录,执行:lsattr -a,看到.user.ini有个'i'属性,代表不得任意更动文件或目录,正是此属性在作祟:

然后执行命令:

1

chattr -i .user.ini

就可以去除掉此属性,然后我们再执行删除,就可以顺利删除掉了。
————————————————

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

原文链接:https://blog.csdn.net/zdw19861127/article/details/121021614