<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mgmt API - Web Services - put-file in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-API-Web-Services-put-file/m-p/93221#M5068</link>
    <description>&lt;P&gt;You can use the run-script API to run chmod to do that.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Aug 2020 04:17:31 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2020-08-04T04:17:31Z</dc:date>
    <item>
      <title>Mgmt API - Web Services - put-file</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-API-Web-Services-put-file/m-p/93215#M5067</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to change permissions of a file using the mgmt API?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the put-file module (specifically the cp_mgmt_put_file ansible cp module) to copy a file from a local server via the mgmt API to a remote security gateway.&amp;nbsp;&amp;nbsp;I need to change the default permissions the file inherits (644- rw-r-r) so the file can be executed after being copied.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The put-file doesn't appear to have any functionality to set the destination permissions of the file it is copying.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 01:56:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-API-Web-Services-put-file/m-p/93215#M5067</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2020-08-04T01:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mgmt API - Web Services - put-file</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-API-Web-Services-put-file/m-p/93221#M5068</link>
      <description>&lt;P&gt;You can use the run-script API to run chmod to do that.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 04:17:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mgmt-API-Web-Services-put-file/m-p/93221#M5068</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-08-04T04:17:31Z</dc:date>
    </item>
  </channel>
</rss>

