V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
nifan
V2EX  ›  VMware

ESXI6.7 时间不对,网上找了教程覆盖 localtime,但提示 Operation not permitted

  •  
  •   nifan · 2021-03-03 16:06:03 +08:00 · 1359 次点击
    这是一个创建于 1396 天前的主题,其中的信息可能已经有所发展或是发生改变。

    The ESXi Shell can be disabled by an administrative user. See the vSphere Security documentation for more information. [root@localhost:~] ls altbootbank bootpart.gz etc local.tgz opt sbin tardisks usr vmimages bin bootpart4kn.gz lib locker proc scratch tardisks.noauto var vmupgrade bootbank dev lib64 mbr productLocker store tmp vmfs [root@localhost:~] cd vmfs [root@localhost:/vmfs] ls devices volumes [root@localhost:/vmfs] cd volumes/ [root@localhost:/vmfs/volumes] ls 6035539a-d5cf89aa-2ba2-d4f5ef22a700 6037fc19-8b1b1f46-8761-d4f5ef22a700 709f1276-e598b5f7-ed0e-1fc1d1d5f8a9 datastore243 603583e1-f925d50a-e531-d4f5ef22a700 6037fc24-88fcd478-287a-d4f5ef22a700 VMFS-243 e6a22d7e-61171781-e2c6-9a9d85c3552c [root@localhost:/vmfs/volumes] cd datastore243/ [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700] ls 603ab84a-770d-d240-9bc9-d4f5ef22a700 soft sysSwap-hc-603ab84a-770d-d240-9bc9-d4f5ef22a700.swp [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700] ls 603ab84a-770d-d240-9bc9-d4f5ef22a700 soft sysSwap-hc-603ab84a-770d-d240-9bc9-d4f5ef22a700.swp [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700] cd s -sh: cd: can't cd to s: No such file or directory [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700] cd soft/ [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] ls localtime [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] cp /vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/s soft/ sysSwap-hc-603ab84a-770d-d240-9bc9-d4f5ef22a700.swp [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] cp /vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft/localtime /etc/localtime cp: can't create '/etc/localtime': Operation not permitted [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] chmod 777 /etc/localtime [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] cp /vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft/localtime /etc/localtime cp: can't create '/etc/localtime': Operation not permitted [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] lsattr /etc/localtime -sh: lsattr: not found [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] chattr -i /etc/localtime -sh: chattr: not found [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] cp /vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft/localtime /etc/localtime cp: can't create '/etc/localtime': Operation not permitted [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] lsattr -d /etc/localtime -sh: lsattr: not found [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] data -sh: data: not found [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] date Tue Mar 2 23:50:21 UTC 2021 [root@localhost:/vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft] cd [root@localhost:~] cp /vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft/localtime /etc/localtime cp: can't create '/etc/localtime': Operation not permitted [root@localhost:~] cd .. [root@localhost:~] cp /vmfs/volumes/6035539a-d5cf89aa-2ba2-d4f5ef22a700/soft/localtime /etc/localtime cp: can't create '/etc/localtime': Operation not permitted [root@localhost:~]

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2361 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 02:00 · PVG 10:00 · LAX 18:00 · JFK 21:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.