Skip to content

Commit

Permalink
SrmShell.java: changed 'rw--' to 'rw-' in case TPermissionMode._RW
Browse files Browse the repository at this point in the history
I was searching for directory right code to investigate why we have a directory that spontaneously changes from 755 to 770 every now and then. Then I stumbled upon what appears to be a coding typo. I have no idea if it is related to our bug, but I'd like to bring it to your attention anyway.
  • Loading branch information
onnozweers authored and paulmillar committed Jun 30, 2016
1 parent ed7e347 commit 7c802fe
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -261,7 +261,7 @@ private String permissionsFor(TPermissionMode mode)
case TPermissionMode._RX:
return "r-x";
case TPermissionMode._RW:
return "rw--";
return "rw-";
case TPermissionMode._RWX:
return "rwx";
default:
Expand Down

0 comments on commit 7c802fe

Please sign in to comment.