Skip to content

Commit

Permalink
remove parent permission check
Browse files Browse the repository at this point in the history
  • Loading branch information
Snd-R committed Oct 12, 2024
1 parent 68d366f commit efc4501
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ class ComicInfoWriter private constructor(private val overrideComicInfo: Boolean
if (!path.isWritable()) {
throw ComicInfoException("No write permission for file $path")
}
if (OsPlatform.Current != Windows && !path.parent.isWritable()) {
throw ComicInfoException("No write permission for directory ${path.parent}")
}
}

private fun copyPermissions(from: Path, to: Path) {
Expand Down

0 comments on commit efc4501

Please sign in to comment.