Skip to content

Explicitly declare permissions for config directory #129

@jjackzhn

Description

@jjackzhn

Relevant code:

file { '/etc/ood/config/apps':
ensure => 'directory',
owner => 'root',
group => 'root',
source => $openondemand::_apps_config_source,
recurse => true,
purge => true,
force => true,
}

This breaks if the target system has a root umask without world-execute.

My suggestion is to add

mode => '0755',

I ran into this issue while trying to puppetize https://osc.github.io/ood-documentation/latest/customizations.html#add-shortcuts-to-files-menu. I can fix the permissions of the subdirectories but not this one, since it's already declared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions