Make docs more clear
https://github.com/hashicorp/packer/pull/9704#discussion_r465393240
This commit is contained in:
parent
5493285f65
commit
a53e81d9a2
|
@ -21,12 +21,12 @@ type OutputConfig struct {
|
|||
// created, must be empty prior to running the builder. By default this is
|
||||
// "output-BUILDNAME" where "BUILDNAME" is the name of the build.
|
||||
OutputDir string `mapstructure:"output_directory" required:"false"`
|
||||
// The permission of the directories newly created to store artifacts,
|
||||
// possibly including the directory speified by "output_directory" and its
|
||||
// ancestor directories. By default this is "0750". You should express the
|
||||
// permission as quoted string with a leading zero such as "0755" in JSON
|
||||
// file, because JSON does not support octal value. In Unix-like OS, the
|
||||
// actual permission may differ from this value because of umask.
|
||||
// The permissions to apply to the "output_directory", and to any parent
|
||||
// directories that get created for output_directory. By default this is
|
||||
// "0750". You should express the permission as quoted string with a
|
||||
// leading zero such as "0755" in JSON file, because JSON does not support
|
||||
// octal value. In Unix-like OS, the actual permission may differ from
|
||||
// this value because of umask.
|
||||
DirPerm os.FileMode `mapstructure:"directory_permission" required:"false"`
|
||||
}
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
created, must be empty prior to running the builder. By default this is
|
||||
"output-BUILDNAME" where "BUILDNAME" is the name of the build.
|
||||
|
||||
- `directory_permission` (os.FileMode) - The permission of the directories newly created to store artifacts,
|
||||
possibly including the directory speified by "output_directory" and its
|
||||
ancestor directories. By default this is "0750". You should express the
|
||||
permission as quoted string with a leading zero such as "0755" in JSON
|
||||
file, because JSON does not support octal value. In Unix-like OS, the
|
||||
actual permission may differ from this value because of umask.
|
||||
- `directory_permission` (os.FileMode) - The permissions to apply to the "output_directory", and to any parent
|
||||
directories that get created for output_directory. By default this is
|
||||
"0750". You should express the permission as quoted string with a
|
||||
leading zero such as "0755" in JSON file, because JSON does not support
|
||||
octal value. In Unix-like OS, the actual permission may differ from
|
||||
this value because of umask.
|
||||
|
|
Loading…
Reference in New Issue