Project

General

Profile

Actions

Bug #5432

closed

zoneadm install could fix zonepath permissions automatically

Added by Alexander Eremin about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Category:
zones
Start date:
2014-12-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

Such output can be seen frequently while installing zone:

$ sudo zoneadm -z myzone install
/zones/myzone is not owned by root.
/zones/myzone must not be group readable.
/zones/myzone must not be group executable.
/zones/myzone must not be world readable.
/zones/myzone must not be world executable.
could not verify zonepath /zones/myzone because of the above errors.
zoneadm: zone myzone failed to verify

While "zoneadm verify" should warn about wrong perms, "zoneadm install" could easily fix them automatically (Solaris does it)

Actions #1

Updated by Electric Monk about 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit b6831eafa2ec2cb283f783b06ee86bf79d5a17c3

commit  b6831eafa2ec2cb283f783b06ee86bf79d5a17c3
Author: Alexander Eremin <a.eremin@nexenta.com>
Date:   2014-12-26T19:36:13.000Z

    5432 zoneadm install could fix zonepath permissions automatically
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF