Skip to Content
avatar image
Former Member

SFTP destination - file permissions at the destination

  • Our BO setup runs SAP BO 4.2 SP3 and we had recently configured some reports to go to a sftp destination thru scheduling. We are able to successfully specify the properties and fingerprint and are able to send the file to the destination site. However, the files that get written on the destination linux server have only read and write permissions for the user and no permissions set for the group. The umask is not the issue at the destination side; the file appears restricted when it originated from BO application and so the umask is not preventing the group read permissions. I would like to know what file permissions are set to the report by BO before being sent thru sftp to destination and if there are any ways to specify or change those permissions. I will appreciate any details or pointers in this regard.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 26, 2017 at 06:54 PM

    I doubt that the permissions are set by BO. We usually do not do anything like that and permissions are assumed from the OS/Folder/User which runs the process.
    In this case BOE scheduling process (user A) sends the file to SFTP server, it is the SFTP server that saves the file in the specified location.
    So the user under which SFTP is running (User B) should be the responsible party for the file when it is written.

    Add comment
    10|10000 characters needed characters exceeded

    • Think about how the file permissions work on Win and Unix - there is no equivalent of localsystem account in unix, so the permissions that user has on files are not exactly translatable to unix...
      In this workflow - the SFTP server receives the file owned by this account. So it makes sense that's where those weird permissions came from.