ESXi

 View Only
  • 1.  root account chmod Operation not permitted on ESXi 7

    Posted Oct 27, 2020 05:43 AM

    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



  • 2.  RE: root account chmod Operation not permitted on ESXi 7

    Broadcom Employee
    Posted Oct 27, 2020 07:28 AM

    Hi wmliang​,

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



  • 3.  RE: root account chmod Operation not permitted on ESXi 7

    Posted Oct 27, 2020 07:49 AM

    sorry about that

    i got this kb before, but i misunderstood about the kb :smileysad:

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

    thanks for mentioned the article again :smileyhappy:

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



  • 4.  RE: root account chmod Operation not permitted on ESXi 7

    Posted Nov 13, 2020 03:45 PM

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

    Its disrupting alot of our scripts