<?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: FTP umask in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132292#M153191</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Which mask are you using ?&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
    <pubDate>Mon, 01 Dec 2003 05:34:00 GMT</pubDate>
    <dc:creator>Jean-Louis Phelix</dc:creator>
    <dc:date>2003-12-01T05:34:00Z</dc:date>
    <item>
      <title>FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132291#M153190</link>
      <description>Hi folks,&lt;BR /&gt;&lt;BR /&gt;Reading the various posts on this topic, I have learnt to get most of what I want set up done.&lt;BR /&gt;&lt;BR /&gt;However, one thing remains unsolved; appreciate all assistance.&lt;BR /&gt;&lt;BR /&gt;My user will ftp a folder which contains subfolders and files using a GUI-based ftp software.  It recursively transfers the files and folders but only the files take the permission setting spelled out in the ftpaccess file.  The folders (directories) remain at 750.&lt;BR /&gt;&lt;BR /&gt;How do I get the directories' perms set up as I want?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Shahril&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Dec 2003 05:24:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132291#M153190</guid>
      <dc:creator>Shahril M</dc:creator>
      <dc:date>2003-12-01T05:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132292#M153191</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Which mask are you using ?&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Mon, 01 Dec 2003 05:34:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132292#M153191</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2003-12-01T05:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132293#M153192</link>
      <description>This is how my ftpaccess file looks like:&lt;BR /&gt;&lt;BR /&gt;class all real,guest,anonymous *                                           &lt;BR /&gt;                                                                           &lt;BR /&gt;upload  /  /ixos/extr3/ext_dir       yes  root  sys  0666                  &lt;BR /&gt;upload  /home/isdsbm  /ixos/extr3/ext_dir/*       yes  root  sys  0777 dirs&lt;BR /&gt;&lt;BR /&gt;I ftp'd using isdsbm&lt;BR /&gt;&lt;BR /&gt;My files become 777, but dirs are still 750&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Shahril&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Dec 2003 06:02:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132293#M153192</guid>
      <dc:creator>Shahril M</dc:creator>
      <dc:date>2003-12-01T06:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132294#M153193</link>
      <description>Hi there.&lt;BR /&gt;Have you checked yout /etc/inetd.conf ?&lt;BR /&gt;This file has the basic parameters for the ftp daemon..&lt;BR /&gt;&lt;BR /&gt;sample :&lt;BR /&gt;&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -l -u 022 -i -o -B1&lt;BR /&gt;024&lt;BR /&gt;&lt;BR /&gt;If you change the u - parameter, your basic  setup for fiel attributes should change as well.&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Dec 2003 08:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132294#M153193</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2003-12-01T08:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132295#M153194</link>
      <description>Sharil,&lt;BR /&gt;&lt;BR /&gt;you could allow umask in the ftpaccess and have the user run "umask 000" (which would hopefully be possible in the GUI of the ftp client). Guess that would be the best solution.&lt;BR /&gt;&lt;BR /&gt;Alternatively you can enable chmod, but then it would have to be done for each subdirectory, which is not a good solution. &lt;BR /&gt;&lt;BR /&gt;If that user is the only one doing ftp to this machine you could also change the default umask for ftp in /etc/inetd.conf and re-reading inetd configuration by running inetd -c (Would not recommend that, though)&lt;BR /&gt;Any mkdir via ftp would then create a dir with permissions 777.&lt;BR /&gt;&lt;BR /&gt;If all ftp-ed files end up in a certain directory, you could also run a daemon script that changes permissions to 777 whenever there is a directory with other permissions.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Dec 2003 08:23:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132295#M153194</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2003-12-01T08:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132296#M153195</link>
      <description>Hi Alex,&lt;BR /&gt;&lt;BR /&gt;IIRC, the -u option in inetd.conf changes the default umask for all ftps.  If so, that is not what I want.&lt;BR /&gt;&lt;BR /&gt;Bernhard,&lt;BR /&gt;I tried running umask command from the FTP client, but it did not seem to work.  Is there a way to enable it via the ftpaccess file?&lt;BR /&gt;&lt;BR /&gt;I agree that your 2nd and 3rd suggestions are not ideal.  However, I did think about the 4th one (a cronjob to chmod), but it is not neat enough although perhaps my last resort.  And it is not foolproof as the cron interval must not be too frequent yet not too far apart that the job the processes the files runs before the chmod takes place.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Shahril&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Dec 2003 22:58:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132296#M153195</guid>
      <dc:creator>Shahril M</dc:creator>
      <dc:date>2003-12-01T22:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132297#M153196</link>
      <description>Sharil,&lt;BR /&gt;&lt;BR /&gt;I believe you could just add&lt;BR /&gt;umask  yes  guest,real,anonymous&lt;BR /&gt;&lt;BR /&gt;to your ftpaccess file to allow all clients the umask command.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
      <pubDate>Tue, 02 Dec 2003 06:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132297#M153196</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2003-12-02T06:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132298#M153197</link>
      <description>Hi Bernhard,&lt;BR /&gt;&lt;BR /&gt;I will try that, and report how it turns out.&lt;BR /&gt;&lt;BR /&gt;However, if I read the man page correctly, that umask and other options are granted by default.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Shahril&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Dec 2003 19:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132298#M153197</guid>
      <dc:creator>Shahril M</dc:creator>
      <dc:date>2003-12-02T19:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132299#M153198</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Report: Still unsolved.&lt;BR /&gt;&lt;BR /&gt;I am using the FTP Explorer from Hummingbird Exceed.  Does anyone know of a graphical Windows-based FTP client that allows the user to issue a umask command?&lt;BR /&gt;&lt;BR /&gt;The FTP Explorer has a feature to issue an arbitrary ftp command, but the umask command does not seem to work.&lt;BR /&gt;&lt;BR /&gt;Appreciate all assistance, thx.&lt;BR /&gt;&lt;BR /&gt;Shahril&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Dec 2003 05:22:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132299#M153198</guid>
      <dc:creator>Shahril M</dc:creator>
      <dc:date>2003-12-03T05:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132300#M153199</link>
      <description>I have added the -u 022 option in the /etc/inetd.conf,and inetd -c,but it seem's not works yet?&lt;BR /&gt;&lt;BR /&gt;# ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 002&lt;BR /&gt;&lt;BR /&gt;Then restart 'inetd' with:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/inetd -c&lt;BR /&gt;&lt;BR /&gt;Any one have further suggestions ?Thanks.</description>
      <pubDate>Fri, 05 Mar 2004 02:05:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132300#M153199</guid>
      <dc:creator>李洪宇</dc:creator>
      <dc:date>2004-03-05T02:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132301#M153200</link>
      <description>In my system I use ftpaccess in the follow way:&lt;BR /&gt;&lt;BR /&gt;User: Alfa&lt;BR /&gt;Home: dir /home/alfa&lt;BR /&gt;&lt;BR /&gt;If I want Alfa puts some files in /beta and these files must have owner alfa group users and permission 0666:&lt;BR /&gt;&lt;BR /&gt;upload /home/alfa /beta yes alfa users 0666&lt;BR /&gt;&lt;BR /&gt;Remeber to define at the head of ftpaccess rules to access to your ftp site:&lt;BR /&gt;class   local   real,guest,anonymous *.domain 0.0.0.0&lt;BR /&gt;class   remote  real,guest,anonymous *&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bye</description>
      <pubDate>Fri, 05 Mar 2004 04:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132301#M153200</guid>
      <dc:creator>Mauro Gatti</dc:creator>
      <dc:date>2004-03-05T04:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132302#M153201</link>
      <description>Hi Shahril,&lt;BR /&gt;&lt;BR /&gt;Besides the umask on the ftpdeamon there is a possebility to do an &lt;BR /&gt;chmod mode file-name&lt;BR /&gt;           Change the permission modes of the file file-name on the remote&lt;BR /&gt;           system to mode.&lt;BR /&gt;FTP understands this and if allowed ( rights) and if known by the interface you could try this.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Fri, 05 Mar 2004 04:33:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132302#M153201</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-03-05T04:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132303#M153202</link>
      <description>Using WS_FTP client for windows You can issue a connda to remote ftp site like is writte in help:&lt;BR /&gt;&lt;BR /&gt;Issuing Commands to an FTP Site&lt;BR /&gt;&lt;BR /&gt;1 Select the site.&lt;BR /&gt;&lt;BR /&gt;2 Select Properties.&lt;BR /&gt;&lt;BR /&gt;3 Click the Startup tab. &lt;BR /&gt;&lt;BR /&gt;4 In the Initialization command text box, enter any commands you want to issue to the FTP site at the beginning of the session. Separate multiple commands with a semi-colon (;).&lt;BR /&gt;&lt;BR /&gt;For example, the command SITE UMASK 022 changes the UMASK used when creating files (on a UNIX system).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Mauro</description>
      <pubDate>Fri, 05 Mar 2004 05:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132303#M153202</guid>
      <dc:creator>Mauro Gatti</dc:creator>
      <dc:date>2004-03-05T05:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: FTP umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132304#M153203</link>
      <description>Just a note -&lt;BR /&gt;&lt;BR /&gt;Hummingbird FTP does allow you to send a umask command but you have to do it as follows:&lt;BR /&gt;&lt;BR /&gt;1) Select File, then Send Arbitrary FTP Protocol Command...&lt;BR /&gt;&lt;BR /&gt;2) The command is formatted like&lt;BR /&gt;    site umask 022&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Mike Resnick</description>
      <pubDate>Fri, 05 Mar 2004 13:35:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-umask/m-p/3132304#M153203</guid>
      <dc:creator>Michael Resnick</dc:creator>
      <dc:date>2004-03-05T13:35:27Z</dc:date>
    </item>
  </channel>
</rss>

