diff --git a/sbin/fixWgaccess.pl b/sbin/fixWgaccess.pl index 53d2bfb6d..b1de9f141 100644 --- a/sbin/fixWgaccess.pl +++ b/sbin/fixWgaccess.pl @@ -44,11 +44,7 @@ ASSET: while (1) { next ASSET; } last ASSET unless $file; - $file->getStorageLocation->setPrivileges( - $file->get('ownerUserId'), - $file->get('groupIdView'), - $file->get('groupIdEdit'), - ); + $file->setPrivileges; } finish($session);