Hi All,
In my project i have two category(folder) namely business and working.I
am keeping my final version of job in business category and all the developement activity i am doing in working category.
Now my requirement is to protect the business category so thet only with some userid i can access both the folder and all other usrid will have access to the working folder only.
So put some light on how can i achieve this.
thanks in advance.
protecting the selected category of jobs inside the project
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 13
- Joined: Tue Jun 14, 2005 6:25 am
Changing protection within a project for different cateogries is not part of the normal scope of DataStage. It is better to split this into 2 projects and do the protection at a project level.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
I posted some shell scripts to do this in UNIX with separate projects. You will need to change permissions on some of files in the DSEngine directory. The default setuo is for the same group as dsadm to be used by all developers. It is not complicated but DS_LICENSE and some other directories need chmod 777 on them.
If you can't find the scripts then ask and maybe Kumar can find them. If not I will.
If you can't find the scripts then ask and maybe Kumar can find them. If not I will.
Mamu Kim
And this was the one among lot, written by Kim Duke.
Code: Select all
cd $DSHOME
vi dsenv
# add umask 007
vi sample/ds.rc
# change umask to 007
chmod -R 777 catdir sql DS_LICENSE
cd ../Projects
chmod -R 4770 .
chmod 4770 .
cd NewProject
chgrp -R dstage2 .
vi .developer.adm .prodmgr.adm .operator.adm
# add dstage2
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
These will not help you. These scripts allow you to create 2 projects where the 2 groups cannot see the other's project. If you want one project protected from specific users then that is a lot easier. You just add the users to /etc/groups into the new group. Next you restrict this project to that group.
Mamu Kim