Host machine OS: CentOS 4.8 running SSH server daemon Remote machine OS: Ubuntu 9.10
As I have done many times, I'm doing remote system administration via SSH. Today I encountered some behaviour that, for the moment, has me baffled. I login remotely to the host to my user account on that machine and download the CUPS 1.2.12 tar file from cups.org. The tar file owner and group show up in ls -l as my username and group (as expected). Then I login to root from my user account, using the full login command 'su -'. As root, I run tar -xvjf cups...blah blah.tar.bz2 and extract all the cups files and directories. Running ls -alR lists ALL the files extracted and directories created as being owned by my wife's user name and group. (She's the primary user of this machine.) WHOA, am I surprised!! Next, I view the original files in the tar file, 'tar -tvjf cups...blahblah.tar.bz2' and as expected, the owner and group are 'msweet' (Michael Sweet who works on the CUPS project). Still puzzled, I check the groups that my account, my wife's account, and 'root' belong to, and find nothing out of the ordinary. Next, I check /etc/ssh/sshd_config on the host machine and see nothing out of the ordinary there. As a final test, I try to check the su login mechanism by creating a new file with 'touch testfile.tar' and then ls -l the directory to find the new file correctly assigned to root user and root group. Any ideas what's misconfigured to cause the permissions to be wrongly assigned? TIA
-- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup
