Permission denied" on a work file in running a batch job
- Article Type: General
- Product: Aleph
- Product Version: 18.01
Description:
We get "Permission denied" on workfiles in running certain batch jobs. This could be a log or cycles file in running an indexing job (such as p_manage_01, p_manage_02, p_manage_05, p_manage_07, p_manage_15, p_manage_27, p_manage_32, p_manage_102, p_union_01, p_union_02, etc.) or some other temporary file in running some other batch job.
Example:
When running p_manage_15, permission is denied on p_manage_15_a_1.log and p_manage_15.cycles:
/exlibris/aleph/u18_1/abc01/scratch/p_manage_15_a_1.log: Permission denied.
...
b_cycle_table_handle: Unable to open file /exlibris/aleph/u18_1/abc01/scratch/p_manage_15.cycles
Resolution:
p_manage_15 was run on Jun 18 2008 by someone logged in as root:
ABC01-ALEPH>>ds
ABC01-ALEPH>>ls -lrt *manage_15*
-rw-r--r-- 1 root root 123079 Jun 18 2008 p_manage_15_1.1
-rw-r--r-- 1 root root 154379 Jun 18 2008 p_manage_15_1.2
<etc.>
-rw-r--r-- 1 root root 162767 Jun 18 2008 p_manage_15_1.18
-rw-r--r-- 1 root root 19824 Jun 18 2008 p_manage_15_a_1.log
-rw-r--r-- 1 root root 3942 Jun 18 2008 p_manage_15.cycles.
This caused the workfiles to have root as the owner and the p-manage-15 you are running is unable to delete them because of root being the owner.
You will need to delete all of these old manage-15 work files before running manage_15.
- Article last edited: 10/8/2013