Re: SCP umask and def. modes

From: Jim Williams (skorp62@bellsouth.net)
Date: 01/07/03


From: "Jim Williams" <skorp62@bellsouth.net>
Date: Mon, 6 Jan 2003 22:28:37 -0500

The RPM versions of what is loaded on the RH 7.0 box is:

[jimw@web jimw]$ rpm -qa|grep openss
openssh-askpass-3.1p1-5
openssl-devel-0.9.6-13
openssh-3.1p1-5
openssh-askpass-gnome-3.1p1-5
openssh-server-3.1p1-5
openssl-perl-0.9.6-13
openssl095a-0.9.5a-18
openssl-0.9.6-13
openssh-clients-3.1p1-5
openssl-python-0.9.6-13
[jimw@web jimw]$

The clients are using pscp ver 0.53b. I wonder if the version has anything
to do with this though. Does a SCP connection use the bash shell or not?
If not then all the shell start up scripts in the world will have no effect.
I've seen no effect so far. If the sshd doesn't use a shell to create the
files, does the protocol provide a way to define the mode?

"Richard E. Silverman" <slade@shore.net> wrote in message
news:m1ladid90cv.fsf@syrinx.oankali.net...
> >>>>> "JW" == Jim Williams <skorp62@bellsouth.net> writes:
>
> JW> Apparently the umask has no effect on files coming in through the
> JW> scp protocol. Any suggestions?
>
> Yes: tell us what versions of SSH you're using.
>
> --
> Richard Silverman
> slade@shore.net



Relevant Pages

  • Re: Rogue DHCP Lease... hacker?
    ... The 'rpm -V' mechanism was originally meant to uncover user blunders. ... Bash or at least Bourne shell in the stuff that follows - a C shell ... the shell will first look for INTERNAL shell commands (at a shell ...
    (alt.computer.security)
  • Re: help - I installed rpm4.0.6 and now nothing works!
    ... revert back to the previous version of RPM (because I have not yet ... Moe's post indicated that rpm4 for rh6.2 did exist. ... prevents you from starting a shell on the hosting computer, and and then chroot to the mounted disk within the same shell. ... chroot needs to start a shell inside the chroot environment. ...
    (comp.os.linux.misc)
  • Re: what commands did you use on bittorrent ?
    ... what I did in the message "Re: BitTorrent rpm"? ... That downloaded the rpm to my directory of choice. ... Then, I opened a shell, cd'd to the directory where I saved the rpm, and typed ... I put my computer outside my firewall just long enough to download the files, ...
    (Fedora)
  • Re: "Permission Denied" on all programs for non-root?
    ... Your original post says "RH9 box" so why not let 'rpm' check ... to execute the shell. ... but I think I'd try the rpm verification first. ...
    (comp.os.linux.misc)