Skip to content

Commit

Permalink
Fix default file/dir permissions in OciCopySpec javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Dec 18, 2023
1 parent 67d85dd commit d7b0a9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/io/github/sgtsilvio/gradle/oci/OciCopySpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,15 @@ interface OciCopySpec {
/**
* Default (UNIX) permissions for files created at the destination.
* If no value is present, the value is inherited from the parent copy spec if there is one in the used scope.
* If no value is present and this is a root copy spec in the used scope, it defaults to `0b111_101_101`/`0755`.
* If no value is present and this is a root copy spec in the used scope, it defaults to `0b110_100_100`/`0644`.
* The default value is used unless a specific permission supplied via [permissions] matches.
*/
val filePermissions: Property<Int>

/**
* Default (UNIX) permissions for directories created at the destination.
* If no value is present, the value is inherited from the parent copy spec if there is one in the used scope.
* If no value is present and this is a root copy spec in the used scope, it defaults to `0b110_100_100`/`0644`.
* If no value is present and this is a root copy spec in the used scope, it defaults to `0b111_101_101`/`0755`.
* The default value is used unless a specific permission supplied via [permissions] matches.
*/
val directoryPermissions: Property<Int>
Expand Down

0 comments on commit d7b0a9d

Please sign in to comment.