mkfifo with -m fails with error
rickysaurav opened this issue · 8 comments
mkfifo -m o+w /tmp/tmp_random
fails with the following error:
mkfifo: cannot set permissions of '/tmp/tmp_random': Invalid argument
This causes a lot of fzf commands to fail inside tmux with FZF_TMUX=1
Thank you for contributing to make this project better😎 Keep up and follow to solve this issue.
@rickysaurav I've noticed this too:
[user17:55~]$ mkfifo -m o+w /tmp/tmp_random mkfifo: cannot set permissions of '/tmp/tmp_random': Invalid argument
It is created:
[user17:56~]$ l /tmp/tmp_random prw-r--r-- 1 user user 0 Oct 12 17:55 /tmp/tmp_random
It has different permissions with the root user login:
[root17:56~]$ l /tmp/tmp_random prw-r--r-- 1 root root 0 Oct 12 17:55 /tmp/tmp_random
The command mkfifo -m o+w tmp_random
has no errors without proot; you might want to open an issue at https://github.com/termux/proot/issues to find out why there is an error with mkfifo in proot, but no error without proot.
This commit bd80df5 makes the Termux command makefifo
easily accessible in Arch Linux Termux PRoot. To access this Termux command in PRoot and a few more Termux command, you can refresh the installation with the option
development placecard option: setupTermuxArch option
. The Termux command makefifo
seems to fail the same way as the Arch Linux command in PRoot with QEMU.
@rickysaurav this issue mkfifo -m error #126 is now open upstream.
Cool, let's close this issue. I'll keep a track of it upstream.
mkfifo -m o+w /tmp/tmp_random mkfifo: cannot create fifo '/tmp/tmp_random': Function not implemented
Stale issue message