If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Exit Code from chmod

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-19-05, 20:34
keanthian keanthian is offline
Registered User
 
Join Date: Nov 2003
Location: Malaysia
Posts: 2
Exit Code from chmod

hi all,
I have a scripts which is running in AIX. The contain of the scripts is as simple as below :
chmod 775 /home/user1/*
chmod 775 /home/user2/*

When i run the scripts from my java program, i will get 137 and sometimes 126 as the exit code. Can someone please engligthen me what does the exit code (137 and 126) mean?
I'm sure that the folder is exists and there are some files is both folders.

thanks.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On