yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83018
[Bug 1884300] Re: CentOS 7.8 - write_files permission error
Issue is within Cloud Assembly, not cloud-init.
** Changed in: cloud-init
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1884300
Title:
CentOS 7.8 - write_files permission error
Status in cloud-init:
Invalid
Bug description:
I am currently experiencing an issue when I use the write_files module
to write a test file. I specify permissions, however when cloud-init
runs it sets the permissions incorrectly.
Details:
- CentOS 7.8.2003(Core)
- cloud-init-18.5-6.el7.centos.x86_64
- vRealize Automation 8.1 (Cloud Assembly)
Cloud Config:
#cloud-config
write_files:
- permissions: "0666"
content: "This is a test"
owner: centos:wheel
path: /root/test.txt
End Result:
[root@deleteme ~]# ll
total 8
-rwxr--r-- 1 root root 1119 Jun 19 09:03 linux_prep.sh
--w--wx-wT 1 centos wheel 14 Jun 19 11:23 test.txt
[root@deleteme ~]# cat test.txt
This is a test
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1884300/+subscriptions
References