Skip to content

Ch05: A special rule for renaming dir #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 21, 2025
Merged

Ch05: A special rule for renaming dir #71

merged 2 commits into from
Apr 21, 2025

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
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.

None yet

3 participants