processone / ejabberd-contrib

Growing and curated ejabberd contributions repository - PR or ask to join !
http://ejabberd.im
248 stars 137 forks source link

modules_update_specs error,eacces #309

Closed nanitook closed 2 years ago

nanitook commented 2 years ago

When excecuting ejabberdctl modules_update_specs it returns Error: {repository,"https://github.com/processone/ejabberd-contrib", {error,eacces}}

badlop commented 2 years ago

eaccess means no access permission to read or write.

But does it mean read access to the git repository?

Or does it mean write access to the destination? By default it tries to create a directory named .ejabberd-modules in $HOME. If you run ejabberd using a new ejabberd account that doesn't have any $HOME set... then this could happen.

Solutions?

nanitook commented 2 years ago

Thank you, changing the permissions of the folder solved it.