no that is not the exact path -
O 'translated' to human readable/ typable form  :)
the path returned is valid it appears to be a permissions issue
I just don't understand why...

Hence the ask abbot what/how permission 4D uses when trying to create/write a 
file


> Hi Chip,
> 
> Are you sure that is the exact path GET 4D FOLDER returns?
> The tilde is the posix (uses slashes) equivalent of your home folder, 
> but this does not make sense in a HFS path (uses colons as folder 
> separator). AFIK the 4D commands use HFS paths, not their posix 
> counterpart.
> One exception for Database folder Unix syntax.
> 
> But even for the unix syntax, 4D does not use the ~, but something 
> like /Users/{yourhomefoldername}/Library/Application Support/4D/
> Even the Convert path system to POSIX command is using the full path.
> 
> Temporary folder also uses the HFS path notation.
> The 4D document handling commands (Create document, Append document) 
> on Mac use HFS notation
> 
> You should check your pathname. 
> ~:library:application support:4D: is not correct and will not work.
> {yourdiskname}:Users:{yourhomefoldername}:Library:Application 
> Support:4D: should work.
> 
> HTH
> Koen
> 
>> Op 16 aug. 2017, om 20:12 heeft Chip Scheide via 4D_Tech 
>> <[email protected]> het volgende geschreven:
>> 
>> I am trying to create a document, on disk, in:
>> ~:library:application support:4D:
>> (this is the path returned from GET 4D FOLDER)
>> 
>> I tested, and changing from GET 4D Folder, to Temporary Folder 
>> for the base path, the file will be written without an issue.
>> 
>> It is probably permissions, BUT *I* can read/write/delete there.
>> Anyone know what permission level/user permissions the 4D 
>> application uses to write a file?
>> 
>> This is 4D v13, single user.
> 
> 
> 
> --------------------
> Compass bvba
> Koen Van Hooreweghe
> Kloosterstraat 65
> 9910 Knesselare
> Belgium
> tel +32 495 511.653
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
------------
Hell is other people 
     Jean-Paul Sartre
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to