Eaccess file permisson denied still showing after using sudo chown - macos

Hi all am trying to use yeoman angular generator but after hitting 'yo angular' it always shows
Error: EACCES, permission denied '/Users/UI-Developer/.config/configstore/insight-yo.yml'
even i tried
sudo chown UI-Developer:staff /Users/UI-Developer/.config/configstore/insight-yo.yml
here UI-Developer is User ID and staff is group name on my MAC mavericks always showing error the url was correct.help me out

OK it's the file mode, which is:
----rw-rw-
^^^^^^^^^
uuugggooo
Where u = user, g = group and o = other.
Which means user (you) has no access.
Fix with:
sudo chmod 0644 /Users/UI-Developer/.config/configstore/insight-yo.yml

Related

Error 500 in Magento

I have successfully installed Magento in mylocalhost server and when i tried to open the admin and index i got this error
[Wed Aug 01 00:47:57.088443 2018] [php7:error] [pid 12976] [client ::1:48615] PHP Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/magento2/var/page_cache" is not writable in /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Cache.php:209\nStack trace:\n#0 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Cache/Backend/File.php(180): Zend_Cache::throwException('cache_dir "/var...')\n#1 /var/www/html/magento2/vendor/colinmollenhour/cache-backend-file/File.php(87): Zend_Cache_Backend_File->setCacheDir('/var/www/html/m...')\n#2 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Cache.php(153): Cm_Cache_Backend_File->__construct(Array)\n#3 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Cache.php(94): Zend_Cache::_makeBackend('Cm_Cache_Backen...', Array, true, true)\n#4 /var/www/html/magento2/lib/internal/Magento/Framework/App/Cache/Frontend/Factory.php(156): Zend_Cache::factory('Magento\\\\Framewo...', 'Cm_Cache_Backen...', Array, Array, true, true, true)\n#5 /var/www/html/magento2/lib/internal/Magento/Framework/Cache/Frontend/Ada in /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Cache.php on line 209, referer: http://localhost/
Have tried to do chmod 777 /var/www/html/magento2/var/page_cache still returning error
Simply write permissions needed on your cache directory
chmod 777 /var/www/html/magento2/var/page_cache
Or even just the full var directory:
chmod 777 /var/www/html/magento2/var - R
For security, those permissions aren't recommended on a production setting but should be fine for local development.
You basically need to make that directory writable by the web server, but that depends on your system setup and is a more complex answer. Probably overkill for this context
just change the permissions of directory "/var/www/html/magento2/var/page_cache" to 777
using following command.
sudo chmod 777 /var/www/html/magento2/var/page_cache
If there is no such directory, probably you need to create directory at given location and change the permissions.

Odoo Client Error Error: QWeb2: Template 'mail.chat.MessagingMenu' not found

When I trying to upgrade my application error occurs.enter image description here
What is the Solution for it ??
I can't able to fix this error .
Plz give me the solution ...
Please, make sure that:
The user 'odoo' is the owner of your DB. In any case:
ALTER DATABASE <db_name> OWNER TO odoo;
You have all the dependencies installed, in particular less. In any case:
sudo npm install -g less less-plugin-clean-css

Laravel5 cashier downloadInvoice() permission denied error

Unable to download pdf generated with laravel 5 cashier and phantomjs. Throws following error:
ProcessFailedException in Process.php line 233: The command "/PROJECT/vendor/laravel/cashier/src/Laravel/Cashier/bin/linux-x86_64/phantomjs invoice.js /PROJECT/storage/framework/48dc273eaff3a0adaab8aa4f5b1d73df.pdf" failed.
Exit Code: 126(Invoked command cannot execute)
Output:
================
Error Output:
================
sh: 1: /PROJECT/vendor/laravel/cashier/src/Laravel/Cashier/bin/linux-x86_64/phantomjs: Permission denied
I checked storage/framework/ directory pdf has been created with permission 644 and www-data. My storage directory has 777 permission and user say xproject
Can anyone help me to get rid of this error?
I had exactly the same error and after much searching I found this post https://alfrednutile.info/posts/149 by Alfred Nutile
You solve the issue by adding execute permissions to the bin folder recursively:
chmod -R +x vendor/laravel/cashier/src/Laravel/Cashier/bin

Error: EACCES, unlink...

I'm trying to get my meteor app up and running, but I don't understand the error that its throwing at all, which is:
/Users/ten3/.meteor/packages/meteor- tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:278
throw(ex);
^
Error: EACCES, unlink '/Users/ten3/Desktop/git/ten/website/prospect-recovery/prospect-recovery/.meteor/local/db/mongod.lock'
at Object.Future.wait (/Users/ten3/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:398:15)
at /tools/fs/files.js:1331:28
at Object.wrapper [as unlink] (/tools/fs/files.js:1334:20)
at findMongoAndKillItDead (/tools/runners/run-mongo.js:318:11)
at launchOneMongoAndWaitForReadyForInitiate (/tools/runners/run-mongo.js:400:7)
at launchMongo (/tools/runners/run-mongo.js:656:7)
at [object Object]._.extend._startOrRestart (/tools/runners/run-mongo.js:756:19)
at [object Object]._.extend.start (/tools/runners/run-mongo.js:714:10)
at /tools/runners/run-all.js:168:26
- - - - -
I'm running a shell script before I try to run a local copy of my meteor app. It supposed to stop my application from interacting with other APIs. When I run the script (I'm on a mac) through my terminal, it returns '0' which as I read means that there are zero errors. I know that the error message is guiding me to certain lines of code, but I don't understand why I would change them if my co-worker could get his copy up and running. He is running his application on a windows computer. Thank you. I'm pretty new to this.
It was a permission error just as #thatgibbyguy first suggested. I was able to run it buy using sudo meteor to override the permission restrictions. I wasn't about to remove my mongod.lock file since that my coworker had the file and was able to get it up and running.

SQLite Can't open — Meteor create app

I'm trying to create a new app with Meteor (this is the first time I've used it on this computer).
When I try and start a new app:
meteor create simple-todos
I'm getting the following error and creating the app fails:
{ [Error: SQLITE_CANTOPEN: unable to open database file]
stack: [Getter] }
And below that I get some other errors:
Error: SQLITE_CANTOPEN: unable to open database file
at Object.Future.wait (/Users/Jack/.meteor/packages/meteor-tool/.1.1.4.2l3p0l++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:398:15)
I can't find other people having this same issue, so I'm a bit in the dark as to how to debug or fix. Pointers as to how to debug / fix this would be really helpful.
It may be a permission error.
In order to fix this issue, you could try to adjust the permission by running this command:
sudo chown -R $USER ~/.meteor

Resources