这种情况下,进程的有效用户ID等于文件拥有者的ID,或者进程是超级进程,仅仅有文件的写权限是不够的。
For this case, the effective user ID of the process must equal the owner ID of the file, or the process must be a superuser process. Merely having write permission for the file is not adequate.
tar 和 ssh 稍微复杂一点,但它们可以保持文件的元数据,如拥有者和权限。
tar and ssh are slightly more complex, but they preserve file metadata, such as owner and permissions.
tar 实用程序将一个或多个文件和目录打包为单个文件,并保持原始文件的大小、拥有者、权限、文件类型及其在文件系统层次结构中的位置。
The tar utility bundles one or more files and directories into a single file, maintaining bytes, owners, permissions, file type, and station in the file system hierarchy of the original files.
应用推荐