Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

permission denied error

Status
Not open for further replies.
Sep 22, 2004
27
US
Hi

i have a script as below .when i excecute the script it gives an erroe of permission denied in making directory. i have chmod to 777.
set -vx
export X=$@

export JOB_NAME="${JOB_NAME}"

. /usr/local/bin/abi_global_setup uda

# Generated under GUI v1.12.5.2 #
set -- $X
set -
_AB_PROXY_DIR=u-ProxyDir-$$
rm -rf "${_AB_PROXY_DIR}"
mkdir "${_AB_PROXY_DIR}"
print -r -- "" > "${_AB_PROXY_DIR}"'/GDE-Parameters'
function __AB_CLEANUP_PROXY_FILES
{
rm -rf "${_AB_PROXY_DIR}"
rm -rf "${AB_EXTERNAL_PROXY_DIR}"
return
}
trap '__AB_CLEANUP_PROXY_FILES' EXIT
trap '_AB_status=$?; __AB_CLEANUP_PROXY_FILES; exit $_AB_status' HUP INT QUIT TERM
. ./${_AB_PROXY_DIR}/GDE-Parameters


Please help
 
i have chmod to 777
You have chmod what ?
What are the perms,owner,group of the directory you want to mkdir in ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top