Open jpenney opened 6 years ago
I've been experiencing a very similar problem. Thank you for your post with the --wait and --verbose options! My files were just disappearing, and I couldn't figure out why!
$ls -l
-rwxrwxr-x 1 bfletcher bfletcher 0 Aug 22 11:20 temp_file.py
Error with $rmate --view --wait temp_file.py
:
touch: cannot touch ‘/tmp/rmate.11068.90017’: Permission denied
/usr/local/bin/rmate: line 362: /tmp/rmate.11068.90017: Permission denied
Saving temp_file.py
cat: /tmp/rmate.11068.90017: No such file or directory
rm: cannot remove ‘/tmp/rmate.11068.90017’: No such file or directory
If the user has permission to edit the file, but not to create new files in the same to the directory, saving fails silently (unless verbose is used).
Open the file for editing:
Make some changes, and save the file, close the tab, and the file is still empty:
Repeat the above with
--verbose
: