EldoS | Feel safer!

Software components for data protection, secure storage and transfer

[iOS]Storage Create Error

Posted: 02/09/2014 22:28:13
by Jaege Kim (Basic support level)
Joined: 12/15/2013
Posts: 6


I have tried to create storage file on iOS, but I have got an error code which seems a system error.
I am not sure, but it looks like permission error(Operation not permitted)

Would you please explain me the reason why?

void SolFSStorage::Create(const PSolFSWideChar fileName, bool overwrite, long pageSize, const PSolFSWideChar logo)

    SolFSHandle storageHandle;
    if (m_Storage != 0)

//Error occurred below : error code is 1
    CheckStorageResult(StorageCreate(fileName,  overwrite, pageSize, logo,
        &storageHandle, m_PathSeparator, m_UseTransactions, m_UseAccessTime));

    m_Storage = storageHandle;
Posted: 02/10/2014 01:50:30
by Alexander Plas (Team)


You are right, this is a system error EPERM (Operation not permitted). Most of all you try to create the storage file in the directory where the process doesn't have permissions to create the file. Refer please to our iOS example application, there is the code to retrieve path to the directory where storage file can be created.
Posted: 02/10/2014 05:05:59
by Jaege Kim (Basic support level)
Joined: 12/15/2013
Posts: 6


Thank you for your kind response.
I have a question about iOS example, does it mean 'console example source' in release version?

We have been evaluating SolFS, so I can not find any other source codes besides sample source code in released version.

If I can not get any way through console sample code, would you please let me know the way I can try?
Posted: 02/10/2014 05:19:29
by Alexander Plas (Team)

Sorry, the iOS example wasn't included in the archive on the site, we will update it. In addition I'll post the example for you in the HelpDesk.
Posted: 02/10/2014 20:26:00
by Jaege Kim (Basic support level)
Joined: 12/15/2013
Posts: 6

Thank you very much for your quick help.

It works well.



Topic viewed 6231 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!