Where I work, we use IQ. It may not be current. That is up to the sa, and I won't go into that again.

only perhaps four people actually create or maintain IQ queries. For whatever bizarre reason, the support for IFS does not work properly for one user. He has a directory in /home. But, IQ won't allow characters like .. or / or \ as leading characters in the IFS path. So, he has changed his home directory to /. A very bad idea, I agree. This actually causes other issues. But, out of my control. Dumb situation. When I first started here almost 15 years ago, I didn't even rate my own user profile. Which made using PDM "interesting".

John McKee

-----Original message-----
From: Scott Klement midrange-l@xxxxxxxxxxxxxxxx
Date: Thu, 21 Apr 2011 15:01:16 -0500
To: Midrange Systems Technical Discussion midrange-l@xxxxxxxxxxxx
Subject: Re: IFS directory name ending with period


What I see a lot is users with HOMEDIR('/home/my-user-id') and then the
/home/my-user-id directory doesn't exist, so the CWD defaults to /
instead of /home/my-user-id.

This is lazy, but isn't so bad. When you do need to have a true home
directory, you can create one and no harm is done.

You seem to be telling me that you see a lot of shops where the users
have HOMEDIR('/'). That is very bad, because software expects the home
dir to be set to a location that's specific to that user. Unix, PASE,
Java, and PHP software will often use that directory to store per-user
settings. If you specify the system's root directory, all users would
share common settings, and that could cause the software to go haywire.
Worse, you have to give all users write access to the root directory
of the IFS, which is a bad idea, security-wise.

Why not just hit your system with a sledgehammer? It's likely to do
less damage.


On 4/21/2011 2:15 PM, Jack Kingsley wrote:
I see it allot.

On Thu, Apr 21, 2011 at 3:01 PM, Scott Klement
<midrange-l@xxxxxxxxxxxxxxxx>wrote:

As an aside... Nobody should ever have their home directory set to / --
good grief, have IBM i system admins gotten THAT bad?

But, no, home directory shouldn't make any difference in this case, as
it's not referenced in the CPYTOSTMF command...


On 4/21/2011 12:26 PM, Jack Kingsley wrote:
Would it matter if the profile your doing this against has it's profile
set
against something other than / (home directory).

--
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.


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].