file_chmod issue

Issue #12 resolved
Dominic Zarro created an issue

I tried this on my Ubuntu 16,04 installation with FL 0.79.44 current development snapshot (16/Apr/2018)

FL> $touch test.dat FL> f=findfile('test.dat') FL> print,f test.dat FL> file_chmod,f,/a_read % Error: FILE_CHMOD: empty string not allowed % Execution halted at: $MAIN$

Comments (2)

  1. Lajos Foldy repo owner

    I could not reproduce the 'empty string' error on Ubuntu 16.04.4 Live. However, keyword handling had a bug in FILE_CHMOD, I have fixed that for the next snapshot.

    In the meantime, you can use 'spawn, 'chmod a+r '+f[0] as a workaround.

    Thanks for the report.

  2. Log in to comment