on 02-10-2017 7:37 PM
I have dbisql installed on an AWS Linux AMI EC2 instance. I am calling it from inside a PHP script using the exec command. The script is run from the command line.
It works perfectly, but I can only get it to work if I change the owner of the /tmp directory to the username that PHP is running under. I get permissions errors otherwise.
Thank you!
I think that you can change TEMP folder by the SATMP environment variable.
For detail, Please see the following document.
http://dcx.sap.com/index.html#sa160/en/dbadmin/astmp-environment-variables.html
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure if there are different good practice suggestions for AWS, but generally /tmp should allow writes from all users, so it is a matter of access rights rather than one of ownership. I just checked one sample where I know I didn't change this setting and "ls -l /" returned attributes drwxrwxrwt for /tmp. drwxrwxrwx might be possible as well. These mean that every user con do everything in /tmp. Can you check if this is different in your AWS session, and if so, did you change it or is it a common setting for this environment?
HTH
Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.