Only root can mount or unmount the device but users can execute binaries and use the "sticky bit" (covered later).
只有root可以装载或者缷载设备,但是用户可以执行二进制文件和使用“sticky bit”(稍后介绍)。
But if multiple users can add files to a directory in a UNIX-like system, and you plan to add files to that directory from a privileged program, make sure that the sticky bit is set on that directory.
但是,在类unix系统中,如果多个用户都可以向同一目录添加文件,而且您计划通过一个有特权的程序向该目录添加文件,那么要确保为该目录设置“sticky”位。
But if multiple users can add files to a directory in a UNIX-like system, and you plan to add files to that directory from a privileged program, make sure that the sticky bit is set on that directory.
但是,在类unix系统中,如果多个用户都可以向同一目录添加文件,而且您计划通过一个有特权的程序向该目录添加文件,那么要确保为该目录设置“sticky”位。
应用推荐