diff --git a/src/File.php b/src/File.php index 2b369ae1..a3d27e4e 100644 --- a/src/File.php +++ b/src/File.php @@ -159,10 +159,6 @@ public static function delete($file) $file = Path::clean($file); $filename = basename($file); - if (!Path::canChmod($file)) { - throw new FilesystemException(__METHOD__ . ': Failed deleting inaccessible file ' . $filename); - } - // Try making the file writable first. If it's read-only, it can't be deleted // on Windows, even if the parent folder is writable @chmod($file, 0777);