File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 22
22
if v .UserExecute
23
23
p = replaceBetween(p , 3 , 3 , " x" );
24
24
end
25
- if v .GroupRead
25
+ if ~isnan( v .GroupRead ) && logical( v . GroupRead )
26
26
p = replaceBetween(p , 4 , 4 , " r" );
27
27
end
28
- if v .GroupWrite
28
+ if ~isnan( v .GroupWrite ) && logical( v . GroupWrite )
29
29
p = replaceBetween(p , 5 , 5 , " w" );
30
30
end
31
- if v .GroupExecute
31
+ if ~isnan( v .GroupExecute ) && logical( v . GroupExecute )
32
32
p = replaceBetween(p , 6 , 6 , " x" );
33
33
end
34
- if v .OtherRead
34
+ if ~isnan( v .OtherRead ) && logical( v . OtherRead )
35
35
p = replaceBetween(p , 7 , 7 , " r" );
36
36
end
37
- if v .OtherWrite
37
+ if ~isnan( v .OtherWrite ) && logical( v . OtherWrite )
38
38
p = replaceBetween(p , 8 , 8 , " w" );
39
39
end
40
- if v .OtherExecute
40
+ if ~isnan( v .OtherExecute ) && logical( v . OtherExecute )
41
41
p = replaceBetween(p , 9 , 9 , " x" );
42
42
end
43
43
You can’t perform that action at this time.
0 commit comments