Operating System - HP-UX
1833805 Members
2890 Online
110063 Solutions
New Discussion

permission denied in deleting entry in application

 
SOLVED
Go to solution
gobi_1
Frequent Advisor

permission denied in deleting entry in application

hi need your expertise,

were running an OEB a P.O. application using non-root user. the user can add entry but when trying to delete the added entry in the application application closes. the application is located /disk1/oeb/oeb

this are some contents of the logs:
*
* Recital memory variables saved on 07/31/1909 at 14:31:20
*
* Error number:
* 15
*
* Error message:
* File access permission denied
*
* Error line:
*
*
* Stack trace:
* In program - oebent1.dbo at line 193
* Called from program - oebent.dbo at line 391
* Called from program - oeb.dbo at line 167
*

hope you could help me.
4 REPLIES 4
Ganesan R
Honored Contributor
Solution

Re: permission denied in deleting entry in application

Hi Gopi,

It doesn't looks unix permission issue. most relavent to application authentication.

If the user does not have write access, he cannot even add the entries. However you can check the permission using ll command.

#ll /disk1/oeb/oeb

If need modify the permission using chmod command.

#chmod 777 /disk1/oeb/oeb
Best wishes,

Ganesh.
gobi_1
Frequent Advisor

Re: permission denied in deleting entry in application

hi sir,

actually its already all rights access
-rwxrwxrwx 1 root sys 13608 Jul 16 17:56 oeb.dbo

but still same error occurs.
Matti_Kurkela
Honored Contributor

Re: permission denied in deleting entry in application

The stack trace does not identify the file where the application attempted to write, but the location (filename and line number) of the write command that failed.

You must read oebent1.dbo to find out what file it tried to access and what type of access it attempted.

Debug traces like this will happen when the programmer has not written a proper error detection code. It is very unfriendly towards the application users.

MK
MK
OldSchool
Honored Contributor

Re: permission denied in deleting entry in application

... and this appears to be a database application...in which case the

1) app itself may not have access to relevant file

-or-

2) the user involved may not have been granted sufficient priveledges with the database to do a delete

start with the dba, or if its locally written, perhaps the app developer.