mmstick / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
615 stars 50 forks source link

Use correct permissions on templates control file #182

Closed jonlamb-gh closed 3 years ago

jonlamb-gh commented 3 years ago

Encountered a lintian error when using a templates control file.

E: mypackage: control-file-has-bad-permissions templates 0755 != 0644

According to Debian Policy Manual section 10.9 the config, postinst, postrm, preinst, and prerm control files should use mode 0755; all other control files should use 0644.

kornelski commented 3 years ago

Thanks