Skip to content

Conversation

@taoky
Copy link
Member

@taoky taoky commented Apr 18, 2025

添加了在周五早上调试某问题时遇到的情况:如果一个目录没有 w 权限,那么将其移动到其他目录会被 -EACCES:

Linux (https://elixir.bootlin.com/linux/v6.14.1/source/fs/namei.c#L4994-L4999):

image

FreeBSD:

image

测试发现现有的 LLM 无法正确回答此问题。

Copy link
Member

@ustcljh ustcljh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感觉有些指代不明?这里的意思是说,把 B 移动过去的时候,要求对于 A、B、C 都有 w 权限?

@taoky taoky force-pushed the dir-write-permission branch from aee201e to 638991d Compare April 21, 2025 13:07
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 21, 2025

Deploying linux101-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 62e1f2e
Status: ✅  Deploy successful!
Preview URL: https://edb3a325.linux101-docs.pages.dev
Branch Preview URL: https://dir-write-permission.linux101-docs.pages.dev

View logs

@ustcljh ustcljh self-requested a review April 21, 2025 13:50
@taoky taoky merged commit f78f746 into master Apr 21, 2025
3 checks passed
@taoky taoky deleted the dir-write-permission branch April 21, 2025 13:51
github-actions bot pushed a commit that referenced this pull request Apr 21, 2025
taoky: [f78f746] Ch05: A special rule for renaming dir (#71)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants