Skip to content
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

文字错误 #25

Open
tiantian1645 opened this issue Sep 28, 2021 · 2 comments
Open

文字错误 #25

tiantian1645 opened this issue Sep 28, 2021 · 2 comments

Comments

@tiantian1645
Copy link

7.6.2

应为 gcc -c -o hello_func.o hello_func.c -I.

image

@tiantian1645
Copy link
Author

8.7.1

创建文件后调用write函数写入了“pwdn”、“lsn”这样的字符串,实际上就是简单的Shell命令

@AydenMeng
Copy link

documentation/linux_app/filesystem_system_call.rst中, 关于系统调用的权限说明中, S_IROTH重复:
========== ======= ========================================
\ 标志位 含义
========== ======= ========================================
当前用户 S_IRUSR 用户拥有读权限
\ S_IWUSR 用户拥有写权限
\ S_IXUSR 用户拥有执行权限
\ S_IRWXU 用户拥有读、写、执行权限
当前用户组 S_IRGRP 当前用户组的其他用户拥有读权限
\ S_IWGRP 当前用户组的其他用户拥有写权限
\ S_IXGRP 当前用户组的其他用户拥有执行权限
\ S_IRWXG 当前用户组的其他用户拥有读、写、执行权限
其他用户 S_IROTH 其他用户拥有读权限
\ S_IWOTH 其他用户拥有写权限
\ S_IXOTH 其他用户拥有执行权限
-\ S_IROTH 其他用户拥有读、写、执行权限
+\ S_IRWXO 其他用户拥有读、写、执行权限
========== ======= ========================================

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

No branches or pull requests

2 participants