On Thu, Apr 20, 2000 at 10:44:54PM -0500, Bret Hughes wrote:
| I backed up a machine tonight with:
| tar -cvf bhughes@compaq2:/dumps/gdubackup.tar --rsh-command=/usr/bin/ssh
| /
|
| and got this as a result:
|
| -rw-r-xr-T 1 bhughes bhughes 775741440 Apr 20 21:46 gdubackup.tar
Weird.
| mc (midnight commander) won't look into the archive like I am used to
| leaving this in the shell:
|
| [root@compaq2 /dumps]# ./gdubackup.tar
| bash: ./gdubackup.tar: cannot execute binary file
|
| Looks like mc is trying to run the thing.
That's pretty horrible behavour. Remind me to stay away from mc...
| I don't have any idea what
| the other permission T means but it must be executable I guess. I can
| change the permissions I know but this begs two questions;
|
| 1. why is this executable at all?
No idea. I would guess your ssh default env at the far end is odd.
Try this:
ssh -l bhughes compaq2 'umask; env|sort'
It may say something enlightening.
| 2. what the heck is T anyway?
"T" means "t" but that the underlying "x" bit isn't set. This is described in
the manual for "ls", like you might expect.
Just chmod 644 the thing and look at it then.
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
Get with it - if you think your genes are worth propagating, you're going to
have to kick butt. - Steve Sanderson, in reference to dating
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.