ITADN

mlr -I changes file permission to mode 600

#1848Closedkartiksubbarao 创建于 2025-08-04
bug
K
kartiksubbaraocommented
In-place edits with mlr change the file permissions to mode 600, which is unexpected and can cause issues with other processes expecting the file to continue to be world-readable. Example: ``` % ls -l test1.tsv -rw-r--r-- 1 milleruser users 16 Aug 4 10:54 test1.tsv % umask 022 % mlr -I -t filter '$col2 == 123' test1.tsv % ls -l test1.tsv -rw------- 1 milleruser users 16 Aug 4 10:54 test1.tsv ``` Can this be fixed so that -I preserves the original file permissions?
关闭于 2025-08-05 1 条评论