Seems that the problem is due to QUSER having *NONE as password setting ?
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: 22 January 2013 13:56
To: Midrange Systems Technical Discussion
Subject: RE: QFileSvr.400 authority.
I pasted that right underneath the error message On machine submitting job:
Object . . . . . . . . . . . . : /QFileSvr.400
Type . . . . . . . . . . . . . : DDIR
Owner . . . . . . . . . . . . : QSYS
Primary group . . . . . . . . : *NONE
Authorization list . . . . . . : *NONE
Data
User Authority
*PUBLIC *RWX
QSYS *RWX
But here's
Object . . . . . . . . . . . . : /QFileSvr.400/GDIHQ
Type . . . . . . . . . . . . . : DIR
Owner . . . . . . . . . . . . : QSYS
Primary group . . . . . . . . : *NONE
Authorization list . . . . . . : *NONE
Data
User Authority
(There are no authorized users for this object.)
If this was the killer, then DUMMY should be excluded also, right? I just think the second level of /QFileSvr.400 always looks like this.
By the way, QNOTES has MORE authority than DUMMY.
On both machines, QNOTES has:
Special authority . . . . . . . . . . . . : *ALLOBJ
*IOSYSCFG
*JOBCTL
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: "McGovern, Sean" <Sean.McGovern@xxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 01/22/2013 08:47 AM
Subject: RE: QFileSvr.400 authority.
Sent by: midrange-l-bounces@xxxxxxxxxxxx
And what about /qfilesvr.400 and /qfilesvr.400/gdihq ?
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: 22 January 2013 13:45
To: Midrange Systems Technical Discussion
Subject: RE: QFileSvr.400 authority.
CPFA09C
Message . . . . : Not authorized to object. Object is
/QFileSvr.400/gdihq/rob/test.txt.
On machine submitting job:
Object . . . . . . . . . . . . : /QFileSvr.400
Type . . . . . . . . . . . . . : DDIR
Owner . . . . . . . . . . . . : QSYS
Primary group . . . . . . . . : *NONE
Authorization list . . . . . . : *NONE
Data
User Authority
*PUBLIC *RWX
QSYS *RWX
On machine hosting QFileSvr.400:
Object . . . . . . . . . . . . : /rob
Type . . . . . . . . . . . . . : DIR
Owner . . . . . . . . . . . . : ROB
Primary group . . . . . . . . : *NONE
Authorization list . . . . . . : *NONE
Data
User Authority
*PUBLIC *RWX
ROB *RWX
Object . . . . . . . . . . . . : /rob/test.txt
Type . . . . . . . . . . . . . : STMF
Owner . . . . . . . . . . . . : ROB
Primary group . . . . . . . . : *NONE
Authorization list . . . . . . : *NONE
Data
User Authority
*PUBLIC *RWX
ROB *RW
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: "McGovern, Sean" <Sean.McGovern@xxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 01/22/2013 08:16 AM
Subject: RE: QFileSvr.400 authority.
Sent by: midrange-l-bounces@xxxxxxxxxxxx
What error do you get in the joblog ?
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: 21 January 2013 20:20
To: midrange-l@xxxxxxxxxxxx
Subject: QFileSvr.400 authority.
I ran CRTUSRPRF DUMMY on one lpar and CRTUSRPRF DUMMY PASSWORD(SOMETHING)
on another. Then from the first lpar I ran SBMJOB CMD(CPY
OBJ('/QFileSvr.400/gdihq/rob/test.txt')
TOOBJ('/home/rob/test3.txt')) JOB(TEST3) USER(DUMMY) and that worked fine.
Ok, passwords don't match. No special authority.
No problem.
But this doesn't work
SBMJOB CMD(CPY OBJ('/QFileSvr.400/gdihq/rob/test.txt')
TOOBJ('/home/rob/test3.txt')) JOB(TEST3) USER(QNOTES) The user isn't
disabled.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.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.
As an Amazon Associate we earn from qualifying purchases.