# Certbot-auto has insecure permissions!

**URL:** <https://community.letsencrypt.org/t/certbot-auto-has-insecure-permissions/106060>\
**Category:** Help\
**Created:** [November 11, 2019, 8:56pm UTC](https://community.letsencrypt.org/t/certbot-auto-has-insecure-permissions/106060 "2019-11-11T20:56:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![istler](https://avatars.discourse-cdn.com/v4/letter/i/85f322/32.png) [@istler](https://community.letsencrypt.org/u/istler)\
**Post date:** [November 11, 2019, 8:56pm UTC](https://community.letsencrypt.org/t/certbot-auto-has-insecure-permissions/106060/1 "2019-11-11T20:56:30Z")

</div>

Hello,

all works fine, also the renewal of the certs, but every time the cronjob run to check the certs I get this error message:

> /etc/cron.daily/letscencrypt:  
> /opt/letsencrypt/certbot-auto has insecure permissions!  
> To learn how to fix them, visit [Certbot-auto deployment best practices](https://community.letsencrypt.org/t/certbot-auto-deployment-best-practices/91979/)

The command, which is executed:  
/opt/letsencrypt/certbot-auto renew --quiet --post-hook "systemctl reload apache2"

I checked the permission:  
$ ls -la /opt/letsencrypt/certbot-auto  
-rwxr-xr-x 1 root root 68699 Nov 7 00:07 /opt/letsencrypt/certbot-auto

It looks fine. Or not? What is the error?

The version of certbot-auto:  
$ /opt/letsencrypt/certbot-auto --version  
Requesting to rerun /opt/letsencrypt/certbot-auto with root privileges...  
/opt/letsencrypt/certbot-auto has insecure permissions!  
To learn how to fix them, visit [Certbot-auto deployment best practices](https://community.letsencrypt.org/t/certbot-auto-deployment-best-practices/91979/)  
certbot 0.40.1

My OS: Ubuntu 18.04.3 LTS

Who can give my a hint?

Best regards  
Maik

---

_[View the full topic](https://community.letsencrypt.org/t/certbot-auto-has-insecure-permissions/106060)._
