Files
DragonOS/user/apps/test-chown/README.md
火花 55e6f0b65f feat:添加chown系统调用 (#962)
* 添加chown系统调用

---------

Co-authored-by: sparkzky <sparkhhhhhhhhh@outlook.com>
Co-authored-by: longjin <longjin@DragonOS.org>
2024-10-26 18:13:25 +08:00

9 lines
331 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 一个简单的用于测试chown系列系统调用的程序
### 由于symlink系统调用还未实现目前只测试chown和fchown
### 测试前需要手动添加nogroup用户组和nobody用户程序里加不了
```groupadd -g 65534 nogroup
useradd -d /nonexistent -g 65534 -u 65534 -s /usr/local/bin/false nobody
```