> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Scott Doherty
> Sent: Friday, November 18, 2005 7:40 AM
> To: [email protected]
> Subject: Re: FTP Initial Directory
> 
> 
> On Fri, 18 Nov 2005 08:13:24 -0500, Charles Mills 
> <[EMAIL PROTECTED]> wrote:
> 
> >He still has to CREATE a starting directory for a horde of 
> PC users who may
> >have no use for one.
> >
> >Interesting question: what happens if the starting directory 
> doesn't exist?
> >
> >Charles
> >
> >
> >
> I don't understand, if They have no use for one why do you 
> need to create
> or change them?
> Our users default to their user Id's and issue the CD command 
> if needed or
> change profile if Id is also TSO capable.
> 

There are two possibilities for a "home directory" in z/OS ftp. The
first is an MVS or "legacy" home, which is simply the user's RACF id. In
this case, there is no such thing as "doesn't exist" and so you question
is not meaningful. Normally RACF user's have their RACF qualified
datasets in a user catalog. However, if not, then they default to the
master catalog. If the user has no datasets, then an "ls" would report
"no datasets". If the user tries to upload, then the dataset will either
be catalogued in the master catalog (if they have UPDATE access to it),
or the upload will fail with a security error if they do not have at
least UPDATE access to the master catalog.

The second is if you have specified STARTDIRECTORY HFS in the TCPIP FTP
server's configuration. In this case, when the user connects to the ftp
server on z/OS, the ftp will start up in the HFS directory specified in
the user's RACF OMVS segment. Now, I just tested, on z/OS 1.6, the
scenario where this directory does not exist. In this case, an error is
logged to the UNIX syslog (not the z/OS SYSLOG that we all know and
love). I get a message like:

RA1424 pass: chdir() failed on /CRAP - EDC5129I No such file or
directory.  (errno2=05190050)

And end up back in the MVS "legacy" world. What I see on the client side
is:

230 XXXXXX is logged on.  Working directory is "XXXXXX"

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to