I found this under user profile help text for home directory.
Home directory (HOMEDIR) - Help
Specifies the path name of the home directory for this user profile.
The home directory is the user's initial working directory. The working
directory, associated with a process, is used during path name
resolution in the directory file system for path names that do not begin
with a slash (/). If the home directory specified does not exist when
the user signs on, the user's initial working directory is the root (/)
directory.
Note: This parameter is Unicode-enabled. See "Unicode support in
CL" in the CL topic collection in the Programming category in the
IBM i Information Center at
http://www.ibm.com/systems/i/infocenter/
for additional information.
*USRPRF
The home directory assigned to the user will be /home/USRPRF, where
USRPRF is the name of the user profile.
'path-name'
Specify the path name of the home directory to be assigned to this
user.
For more information on specifying path names, refer to "Object naming
rules" in the CL topic collection in the Programming category in the IBM
i Information Center at
http://www.ibm.com/systems/i/infocenter/.
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Tuesday, November 03, 2015 9:56 AM
To: Midrange Systems Technical Discussion
Subject: Re: Why would the existance of a home directory , /home/xxx , change the default path on a CPYTOIMPF of a job run by xxx
Not an uncommon issue.
Many IFS operations default to the user's current directory. If a user has a home directory, then that is used as their starting current directory. If the home directory doesn't exist, then the default current directory is /
(root)
So in the job that failed, the operations involved where using relative path names, which worked fine from / (root) when the user didn't have a home directory. Now that he does, they are trying to use /home/xxxx and failing.
Charles
On Tue, Nov 3, 2015 at 9:47 AM, Steinmetz, Paul <PSteinmetz@xxxxxxxxxx>
wrote:
Yesterday, I added a home directory for user xxx to resolve a SFTP
issue/error.
Could not create directory '/home/xxx/.ssh'.
Today, a different non SFTP job run under same user xxx had
CPYTOIMPF fail.
For unknown reasons, /home/xxx was automatically prefixed to the dest path.
Why would the existence of /home/xxx change the default path of a job
run by xxx.
Thank You
_____
Paul Steinmetz
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home
psteinmetz@xxxxxxxxxx
http://www.pencor.com/
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.