Author Topic: B5: MacOS File with read&write permission can be opened/edited but not saved  (Read 13914 times)

Clark

  • Moderator
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
I've got another idea.

Execute "save -a +o" from the SlickEdit command line to save your file. The "-a" option turns off a call which resolves symbolic links. Given all the information you have given me, this is the only difference between the "vs-save-test1" program and the _save_file() built-in that would make sense.

If you have any symbolic links in "/Volumes/Macintosh HD/Users/tuchman/temp/with spaces/space notes.txt", please post the path parts and the link/redirection values.

Thanks
« Last Edit: October 22, 2014, 04:25:01 PM by Clark »

tuchman

  • Senior Community Member
  • Posts: 144
  • Hero Points: 7
After issuing "save -a +o":
1) The data is saved to file, no error dialog is raised.
2) The filename on the tab remains starred!
3) After selecting another tab, then returning to tab with test file, SE raises the "Reload Modifies Files" dialog showing the path "/Volumes/Macintosh HD/Users/tuchman/temp/with spaces/space notes.txt", but the test file is unchecked.
4) After checking and hitting reload, the star on the tab is gone

Issuing "ls -lR "/Users/tuchman/temp" returns nothing.
Issuing "ls -l "/Volumes/Macintosh HD" returns "/"

Clark

  • Moderator
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Now we're getting somewhere.

We are converting the filename to "/Users/tuckman/temp/with spaces/space notes.txt". That's why it can't be found when the symbolic link is resolved.

We will have to figure out some sort of work around for this weird symbol link.

Dennis

  • Senior Community Member
  • Posts: 3955
  • Hero Points: 515
Fixed.  Thanks for all the diligent feedback helping us track this one down!