Skip to content

Commit

Permalink
IRSS: Fix Write Access to Storage on Migration
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard authored and chfsx committed Feb 20, 2024
1 parent e5a0186 commit a190f44
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ public function __construct(
$this->client_data_dir = $client_data_dir;
$this->database = $db;

if (!is_writable("{$data_dir}/{$client_id}/storage/fsv2")) {
throw new Exception('storage directory is not writable, abort...');
}

// Build Container
$init = new InitResourceStorage();
$container = new Container();
Expand Down

0 comments on commit a190f44

Please sign in to comment.