场景:在计算机 A ( userA )下创建的文件,在文件权限中将文件所有权作为userA,然后以不同的用户 ( userB )传输到计算机 B ...
Does the ownership of the original file change from the original user (userA) in computer A to the user (userB) of computer B?
How can I create a file that is only writable by me, the creator and owner, and only readable to anyone who might receive that file on other computers?
我在计算机 A ( userA )上创建了一个文件权限为 755 的 testfile.txt,以比较使用 scp 从计算机 A 传输到 B 之前和之后该文件的权限和所有权。我注意到我的原始文件,现在在计算机 B …