<?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: Configuring VSFTPD file upload permission to 755 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/configuring-vsftpd-file-upload-permission-to-755/m-p/2916285#M3805</link>
    <description>Dear U.SivaKumar,&lt;BR /&gt;&lt;BR /&gt;I have already editted vsftpd.conf and put this line &lt;BR /&gt;local_umask=022 and restart vsftpd by using /etc/rc.d/inetd restart. But the permission that I get is 644. How can I configured vsftpd to set the permission to 755? I would like all my files and directories that I upload are 755.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Chan Choth</description>
    <pubDate>Mon, 03 Mar 2003 03:22:48 GMT</pubDate>
    <dc:creator>Chan Choth PUTH</dc:creator>
    <dc:date>2003-03-03T03:22:48Z</dc:date>
    <item>
      <title>Configuring VSFTPD file upload permission to 755</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configuring-vsftpd-file-upload-permission-to-755/m-p/2916283#M3803</link>
      <description />
      <pubDate>Sat, 01 Mar 2003 01:45:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configuring-vsftpd-file-upload-permission-to-755/m-p/2916283#M3803</guid>
      <dc:creator>Chan Choth PUTH</dc:creator>
      <dc:date>2003-03-01T01:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring VSFTPD file upload permission to 755</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configuring-vsftpd-file-upload-permission-to-755/m-p/2916284#M3804</link>
      <description>Dear Chan ,&lt;BR /&gt;&lt;BR /&gt;Edit vsftpd.conf and put this line&lt;BR /&gt;local_umask=022&lt;BR /&gt;&lt;BR /&gt;Restart vsftpd daemon. Hope your problem is solved.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Mar 2003 07:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configuring-vsftpd-file-upload-permission-to-755/m-p/2916284#M3804</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-03-01T07:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring VSFTPD file upload permission to 755</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configuring-vsftpd-file-upload-permission-to-755/m-p/2916285#M3805</link>
      <description>Dear U.SivaKumar,&lt;BR /&gt;&lt;BR /&gt;I have already editted vsftpd.conf and put this line &lt;BR /&gt;local_umask=022 and restart vsftpd by using /etc/rc.d/inetd restart. But the permission that I get is 644. How can I configured vsftpd to set the permission to 755? I would like all my files and directories that I upload are 755.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Chan Choth</description>
      <pubDate>Mon, 03 Mar 2003 03:22:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configuring-vsftpd-file-upload-permission-to-755/m-p/2916285#M3805</guid>
      <dc:creator>Chan Choth PUTH</dc:creator>
      <dc:date>2003-03-03T03:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring VSFTPD file upload permission to 755</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configuring-vsftpd-file-upload-permission-to-755/m-p/2916286#M3806</link>
      <description>local_umask&lt;BR /&gt;&lt;BR /&gt;Actually, you can figure this out yourself.&lt;BR /&gt;&lt;BR /&gt;From the manual of umask&lt;BR /&gt;&lt;BR /&gt;For example, the mask u=rwx,g=rx,o=rx (022) disables group and other write permissions.  As a result, files normally created with a file&lt;BR /&gt;mode shown by the ls -l command as -rwxrwxrwx (777) become mode -rwxr-xr-x (755); while files created with file mode -rw-rw-rw- (666)&lt;BR /&gt;become mode -rw-r--r-- (644).&lt;BR /&gt;&lt;BR /&gt;In fact the umask you were given is correct.&lt;BR /&gt;&lt;BR /&gt;The problem is umask can't doesn't make a file executable. &lt;BR /&gt;&lt;BR /&gt;There may be another parameter you can set.&lt;BR /&gt;&lt;BR /&gt;Here is a workaround.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;write a cron job&lt;BR /&gt;&lt;BR /&gt;It checks for new files in the ftp directory.&lt;BR /&gt;&lt;BR /&gt;If it finds a new file, it does this.&lt;BR /&gt;&lt;BR /&gt;chmod 755 filename.&lt;BR /&gt;&lt;BR /&gt;I don't know the ftp server you are using, though red hat and my backup server both user it.&lt;BR /&gt;&lt;BR /&gt;just a bad guess, local_chmod 755 ?&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 03 Mar 2003 21:00:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configuring-vsftpd-file-upload-permission-to-755/m-p/2916286#M3806</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-03-03T21:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring VSFTPD file upload permission to 755</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configuring-vsftpd-file-upload-permission-to-755/m-p/2916287#M3807</link>
      <description>Dear Steven,&lt;BR /&gt;&lt;BR /&gt;How can I write a script to check for new files in the ftp directory and chmod them to 755? &lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;&lt;BR /&gt;Chan Choth</description>
      <pubDate>Tue, 04 Mar 2003 09:10:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configuring-vsftpd-file-upload-permission-to-755/m-p/2916287#M3807</guid>
      <dc:creator>Chan Choth PUTH</dc:creator>
      <dc:date>2003-03-04T09:10:01Z</dc:date>
    </item>
  </channel>
</rss>

