Skip to content

Ownership of pf9 directories #15

@xagent003

Description

@xagent003

Currently doing following in airctl:

	chownCmd := fmt.Sprintf("chown %s:pf9group %s ", NodeletUser, "/var/log/pf9")
	if _, _, err := nd.client.RunCommand(chownCmd); err != nil {
		return fmt.Errorf("Failed: %s: %s", chownCmd, err)
	}

	chownCmd = fmt.Sprintf("chown %s:pf9group %s ", NodeletUser, "/var/opt/pf9")
	if _, _, err := nd.client.RunCommand(chownCmd); err != nil {
		return fmt.Errorf("Failed: %s: %s", chownCmd, err)
	}

	chownCmd = fmt.Sprintf("chown %s:pf9group %s ", NodeletUser, "/etc/pf9")
	if _, _, err := nd.client.RunCommand(chownCmd); err != nil {
		return fmt.Errorf("Failed: %s: %s", chownCmd, err)
	}

	chownCmd = fmt.Sprintf("chown %s:pf9group %s ", NodeletUser, "/opt/pf9")
	if _, _, err := nd.client.RunCommand(chownCmd); err != nil {
		return fmt.Errorf("Failed: %s: %s", chownCmd, err)
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions