Listing 9. sgid access mode and directories.
清单9 . sgid访问模式和目录。
Listing 10. sgid access mode and file ownership.
清单10 . sgid访问模式和文件所有权。
SUID and SGID permissions can give all users access to specific files.
SUID和SGID许可能给所有的使用者对特定的文件存取。
The suid and sgid bits occupy the same space as the x bits for user and group in a long directory listing.
suid和sgid 位与长目录清单中用户和组的x占据相同的空间。
The Linux permissions model has two special access modes called suid (set user id) and sgid (set group id).
Linux权限模型有两个特殊的访问模式,名为suid(设置用户id)和sgid(设置组id)。
For each suid/sgid file, it also reports whether the file is on a filesystem that contains world writable directories.
对于每个suid/sgid文件来说,它还报告这个文件是否在一个包含人人可写目录的文件系统中。
In the future, this first number may be usable to allow for new files that automatically include the SUID or SGID bits.
未来,这个第一个数目可能可使用考虑到自动地包括SUID或SGID位元的新的文件。
When a directory has the sgid mode enabled, any files or directories created in it will inherit the group id of the directory.
当一个目录使用sgid模式时,在这个目录中创建的任何文件和目录将会继承目录的组id。
If the file is executable, the suid or sgid bits, if set, will be displayed as lowercase s, otherwise they are displayed as uppercase s.
如果文件是可执行的,suid或sgid位如果已设置,将会显示为小写的s,否则就显示为大写的s。
The suid and sgid bits are set and reset symbolically using the letter s; for example, u+s sets the suid access mode, and g-s removes the sgid mode.
suid和sgid位使用字母s 在符号上进行设置和重设;例如,u+s设置 suid访问模式,g-s删除 sgid 模式。
While suid and sgid are handy, and even necessary in many circumstances, improper use of these access mode can allow breaches of a system's security.
虽然suid和sgid很便利,甚至在很多环境下是必需的,但是这些访问模式不适当的使用会造成系统安全上的漏洞。
It is displayed in a long directory listing in the place of the executable flag for other users (the last character), with the same meaning for upper and lower case as for suid and sgid.
它显示在其他用户的可执行标识中(最后的字符)的长目录清单,而且suid和sgid的大小写意义相同。
It is displayed in a long directory listing in the place of the executable flag for other users (the last character), with the same meaning for upper and lower case as for suid and sgid.
它显示在其他用户的可执行标识中(最后的字符)的长目录清单,而且suid和sgid的大小写意义相同。
应用推荐