file.chmod(mode_int) â 0
Instance Public methods
Changes permission bits on file to the bit pattern represented by
mode_int. Actual effects are platform dependent; on Unix systems,
see chmod(2)
for details. Follows symbolic links. Also see
File#lchmod
.
1 2 | f = File . new ( "out" , "w" ); f.chmod( 0644 ) #=> 0 |
Please login to continue.