Highlighted
Contributor
Contributor

root account chmod Operation not permitted on ESXi 7

for my ESXi 7 host

[root@localhost:/tmp] chmod 755 /etc/init.d/xorg

chmod: /etc/init.d/xorg: Operation not permitted

it looks like a new security feature on ESXi 7, since i can chmod on ESXi 6.7

my question is "is it possible to disable this kind of feature ?"

i disabled the vmx sandbox, but it still can't chmod

3 Replies
Highlighted
VMware Employee
VMware Employee

Hi wmliang​,

As you mentioned, it's a security measure indeed in 7.0. Please refer this article --> VMware Knowledge Base

Highlighted
Contributor
Contributor

sorry about that

i got this kb before, but i misunderstood about the kb Smiley Sad

/etc/init.d/xorg didn't have sticky bit, so root account can't chmod

thanks for mentioned the article again Smiley Happy

my remaining question is that "is it possible to disable it ?" or "how to edit /etc/init.d/xorg ?"

Highlighted
Contributor
Contributor

Is there any way to break out of new file permission lock?

Its disrupting alot of our scripts

0 Kudos