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).
$ ls -la
total 0
drwxr-xr-x 3 root wheel 102 Jan 3 09:22 .
drwxrwxrwt 19 root wheel 646 Jan 3 09:22 ..
-rw-r--r-- 1 sampleuser wheel 0 Jan 3 09:22 test_file.txt
Open the file for editing:
$ rmate --host samplehost --wait test_file.txt
Make some changes, and save the file, close the tab, and the file is still empty:
Repeat the above with --verbose:
$ rmate --host samplehost --wait --verbose test_file.txt
Using TCP socket to connect: ‘samplehost:52698’
Connect: ‘220 samplehost RMATE TextMate (Darwin 15.6.0)’
Saving test_file.txt
Save failed! Permission denied - test_file.txt~
Closed test_file.txt
Done
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: