Cannot Open File - Data Extract | Community
Skip to main content
davidl14970702
Level 4
May 22, 2019
Solved

Cannot Open File - Data Extract

  • May 22, 2019
  • 3 replies
  • 5166 views

I am unsure how to diagnose this error.

05/22/2019 7:58:40 AM BAS-010015 Cannot open file '/home/myfilepath.csv' with write access (errno=13, Permission denied)

I am a full admin, there should not be any permission issues.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jonathon_wodnicki

Hi,

The /home dir is normally owned by root group, so you have these options:

  • Change permission of /home to 777 -don't do this
  • Add neolane to root group, change permission to 775 -worse
  • Change group ownership of /home to another group with neolane in it (new group with root+neolane(?))  and set 775 -not great, but will work
  • Use another dir neolane already has access to, like /tmp or /usr/local/neolane/nl6/var/<instance> -better
  • Create a new dir like /var/neolane and grant access to it, make sure instance conf grants access to it if on a newer build -best

Thanks,

-Jon

3 replies

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
May 22, 2019

Hi,

The /home dir is normally owned by root group, so you have these options:

  • Change permission of /home to 777 -don't do this
  • Add neolane to root group, change permission to 775 -worse
  • Change group ownership of /home to another group with neolane in it (new group with root+neolane(?))  and set 775 -not great, but will work
  • Use another dir neolane already has access to, like /tmp or /usr/local/neolane/nl6/var/<instance> -better
  • Create a new dir like /var/neolane and grant access to it, make sure instance conf grants access to it if on a newer build -best

Thanks,

-Jon

Adhiyan
Adobe Employee
Adobe Employee
May 22, 2019

Very well explained indeed Jon.

We generally follow the 3rd procedure of having root+neolane in one group.

davidl14970702 -

When you try to connect to the sftp from a workflow , it's actually the neolane user who sends the signal to sftp and not the admin user.

So even when you have admin rights you get access denied on the sftp directories.

Regards,

Adhiyan

davidl14970702
Level 4
May 23, 2019

I didn't realize there were permission settings on the SFTP.

I just completed the transfer.

Thanks