E2EBridge_Forum_1600x461
E2E FORUM
E2E Bridge E2E Commerce

How can I set file properties (permissions) on a file

E2E Forum Modeling & Development How can I set file properties (permissions) on a file

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #589
    Andi
    Moderator

    I should write file with a E2E Bridge service on a Linux server and set particular permissions at this file.

    Obviously it’s not possible to set this permissions directly with the FileSystem – Adapter while writing the file. Is it possible to set the permissions afterwards with the System Adapter ? If yes, how can this be done, for instance  for permission “rwxrwxrwx” ?

    #590
    Alfred
    Moderator

    Yes, you can change the file permissions with the System Adapter.

    You can run the Unix command chmod to change the file permissions. The first parameter to the command are the file permissions (777 for rwxrwxrwx) and the second parameter is the file (my_file) or directory name. So in our example the complete command is.

    chmod 777 my_file
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.