A fatal error has occurred Cannot write to cache directory /home/promozjo/tmp/horde Details have been logged for the administrator - email

A fatal error has occurred
Cannot write to cache directory /home/promozjo/tmp/horde
Details have been logged for the administrator.

Check as which user your web server runs, most probably it is www-data. Then issue
chown -R www-data:www-data /home/promozjo/tmp/horde
Also a possible quick fix (but not recommended):
chmod -R 777 /home/promozjo/tmp/horde

Related

Permission denied for deploy.sh file in scripts folder

I've getting permission denied upon running scripts/deploy.sh prod in wsl2. Am I supposed to run a chmod command?
I've previously tried to follow this -bash: ./deploy.sh: Permission denied , ERROR: script returned exit code 126 by entering chmod +x scripts/deploy.sh but when I tried running scripts/deploy.sh prod it tells me the file doesn't exist.
Could someone kindly advice? Thank you!
Here's evidence that the file is there:

VSCode won't install extension - Permission denied

I am having a problem installing extensions on VSCode on macOS Catalina. In console says permission denied. When I checked permission, I have read and write permission and still won't install.
I couldn't find the respective solution to the error so eventually posting here and seeking help to fix the issue.
Error Message
extensionsActions.ts:265 Error: Unable to write file
'/Users/me/Library/Application
Support/Code/CachedExtensionVSIXs/shan.code-settings-sync-3.4.3'
(NoPermissions (FileSystemError): Error: EACCES: permission denied,
open '/Users/me/Library/Application
Support/Code/CachedExtensionVSIXs/shan.code-settings-sync-3.4.3')
Of course, the issue was permission. Fixed by change ownership of the folder CachedExtensionVSIXs
User this command to fix it
sudo chown -R ~/Library/Application\ Support/Code/CachedExtensionVSIXs
Or lead to the Code folder ~/Library/Application\ Support/Code and run the below command
sudo chown -R CachedExtensionVSIXs

Nohup command cause an error

I follow some tutorial about queuing on laravel and run it on the background, with this command
sudo nohup php artisan queue:work --daemon --tries=3
After awhile, i want to update my code, with command
git add .
but i got this error
error: open("nohup.out"): Permission denied
error: unable to index file nohup.out
fatal: adding files failed
I assume it comes from above command.
How can i solve this?
thanks man, really confused now!
Sorry for late,
Can you see that file to include? I say if you use:
git status
Then if you cant, try with chmod 777 to give all permissions.

Matlab startup error permission denied

The error message is as follows. How to deal with this trouble?
Error using connector.internal.autostart.run
Cannot CD to C:\Users\dell\AppData\Local\Temp (Directory permission
denied).
The following worked for me:
1 - Go into the MATLAB installation directory using terminal.
2 - Change installation file type in the sense of permission and execution:
sudo chmod +x install
3 - Run installer:
sudo ./install
Apparently the aforementioned method provides permission in the necessary steps.

Nominatim setup.sh permission denied

I followed this tutorial to install Nominatim. The installation procedure was not too complicated until the import process. I keep getting this same error over and over
CREATE FUNCTION
ERROR: could not access file "~/Nominatim/module/nominatim.so": Permission denied
ERROR: pgsql returned with error code (3)
pgsql returned with error code (3)
I tried doing as the tutorial proposed
chmod +x Nominatim
chmod +x Nominatim/module
Still didn't want to work. Got pissed and did chmod -R 777 Nominatim && chown -R user:usergroup. Nothing.
Finally, tried restarting and still nothing.
I am on ubuntu 14.04 using postgresql 9.3 postgis 2.1.
I feel dumb.
The tutorial wasn't clear enough on when to STOP for giving permissions.
In fact, I had to give my whole home folder the permission chmod +x user. They say that all parent require the execute permission but I wasn't about to give +x to my /usr folder.
Anyways. There. chmod +x /usr/user