mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Merge pull request #473 from CMeza99/fix-trusted-keys
set permissions for apt gpg pub keys
This commit is contained in:
commit
8125468853
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ class InstallTrustedKeys(Task):
|
|||
key_name = os.path.basename(key_path)
|
||||
destination = os.path.join(info.root, 'etc/apt/trusted.gpg.d', key_name)
|
||||
copy(key_path, destination)
|
||||
os.chmod(destination, 0o644)
|
||||
|
||||
|
||||
class WriteConfiguration(Task):
|
||||
|
|
Loading…
Add table
Reference in a new issue