search for: laytonj

Displaying 1 result from an estimated 1 matches for "laytonj".

Did you mean: layton
2003 Jan 06
3
ownership permissions on files replaced via scp -- bug or feature?
...t a member of either group foo or group bar: user at host1:/tmp% ls -l /tmp/testfile -rw-r--r-- 1 user1 foo 5 Jan 6 11:14 /tmp/testfile user at host2:~% ls -l /tmp/testfile -rw-rw-r-- 1 user1 bar 6 Jan 6 11:37 /tmp/testfile If I then scp this file from host1 to host2: laytonj at host1:/tmp% scp testfile host2:/tmp The contents of testfile on host2 are overwritten, but permissions and ownership are preserved. user at host2:~% ls -l /tmp/testfile -rw-rw-r-- 1 user1 bar 5 Jan 6 11:39 /tmp/testfile The same rule applies as long as the user has write permissi...