itamae icon indicating copy to clipboard operation
itamae copied to clipboard

Set `group` the same as `owner` (file resource)

Open ryotarai opened this issue 9 years ago • 1 comments

If owner is set and group is not set, set group the same value as owner automatically.

ryotarai avatar Mar 24 '15 07:03 ryotarai

If set "same value" as group in default, cause error with user belongs to not same name group.

I recommend use "run_specinfra(:get_user_gid, ...)" for retrieve user's GID like this pull-request. https://github.com/nownabe/itamae-plugin-resource-authorized_keys/pull/4

yamajun avatar Jul 11 '16 21:07 yamajun