SET_PERMISSIONS set path permissions

Contents

Inputs

Outputs

function [ok, b] = set_permissions(file, readable, writable, executable, backend)
arguments
  file (1,1) string
  readable (1,1) {mustBeInteger}
  writable (1,1) {mustBeInteger}
  executable (1,1) {mustBeInteger}
  backend (1,:) string = ["native", "legacy"]
end

o = stdlib.Backend(mfilename(), backend);

ok = o.func(file, readable, writable, executable);
b = o.backend;

end