Page 2 of 3
Posted: Sun Mar 30, 2008 10:04 pm
by perfman
Well done ArndW,
I did what you said and it worked when I compiled with same user.
You have solved it!
However, in saying that, what if I want this particular user to be able to run ANY job from commandline. (this is a scheduler tool). There are a bunch of Datastage developers all with their individual usernames so this is going to be required.
Posted: Sun Mar 30, 2008 10:33 pm
by ray.wurlod
Then make sure that they are all in the operating system group that is associated with objects in the project directory, and set their umask value to 002.
Posted: Sun Mar 30, 2008 10:40 pm
by perfman
Hi Ray,
Thanks for that, can you tell me how to check these settings as I have no idea what you are telling me to do. I would like to check these first then send a request to the server support people to get them to update the umask settings, but first I want to understand what I am to be asking them.
Posted: Sun Mar 30, 2008 10:41 pm
by chulett
Posted: Tue Apr 01, 2008 8:05 pm
by chulett
Logged in as that used, you type 'groups' - the first one listed is their primary group. Or you can check /etc/passwd and /etc/groups directly.
Posted: Tue Apr 01, 2008 8:30 pm
by perfman
cool thanks for that.
when I run these commands I come accross some problems:
chgrp -R dstage /opt/IBM/Ascential/DataStage/Projects/MyProject
chgrp: changing group of `each/and/every/file': Operation not permitted
chmod -R g+w /opt/IBM/Ascential/DataStage/Projects/MyProject
chmod: changing permissions of `each/and/every/file': Operation not permitted
do I need root to perform these commands?
Posted: Tue Apr 01, 2008 8:40 pm
by chulett
Odd.. is that
literally the error - 'each/and/every/file'? If so, that's not something I've seen before, what flavor of UNIX are you running?
![Confused :?](./images/smilies/icon_confused.gif)
Posted: Tue Apr 01, 2008 8:43 pm
by perfman
No, that part was not literal, the same error appeared 100's of times (once for each and every file).
My appologies for that missunderstanding.
Posted: Tue Apr 01, 2008 8:52 pm
by chulett
Ah, so just the 'operation not permitted' part then. Still, what O/S?
Posted: Tue Apr 01, 2008 8:57 pm
by chulett
Never mind, googling for 'chgrp operation not permitted' enlightens us - you must be a member of the group to have permissions to change the group. Or be root, of course.
Posted: Tue Apr 01, 2008 10:15 pm
by ray.wurlod
Some administrators restrict access to chmod, chgrp, chown, etc., just as a matter of course.
Posted: Mon Apr 07, 2008 11:24 pm
by perfman
Thanks for your help guys,
I had the administrator run those commands from root, and all seems to work great now.
Posted: Fri Jun 26, 2009 3:24 pm
by bobyon
Do these instructions still apply to version 8.0.1, and later ?
Posted: Fri Jun 26, 2009 5:32 pm
by chulett
Seeing as how there are still a 'Universe' repository and file permissions in play in the 8.x world, I would certainly think so. Can't say if that is still the
complete answer, however.
Probably would have been better to have asked this over in the FAQ posting itself rather than here.
Posted: Sat Jun 27, 2009 10:17 am
by bobyon
Probably would have been better to have asked this over in the FAQ posting itself rather than here.
I tried. It would not let me post there.