Skip to content

Commit

Permalink
Fixed wrong call to mkdir_safe
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioo committed Sep 21, 2023
1 parent bcfcd6b commit 1dbb067
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modoboa_installer/scripts/rspamd.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ def config_dir(self):
def install_packages(self):
debian_based_dist, codename = utils.is_dist_debian_based()
if debian_based_dist:
utils.mkdir_safe("/etc/apt/keyrings")
utils.mkdir_safe(
"/etc/apt/keyrings",
stat.S_IRWXU | stat.S_IRUSR | stat.S_IXUSR,
0, 0
)

if codename.lower() == "bionic":
package.backend.install("software-properties-common")
Expand Down

0 comments on commit 1dbb067

Please sign in to comment.