<?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: Is it possible to allow dir creation but NOT file creation in a dir in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034005#M431489</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;because they shall create directories there&lt;BR /&gt;&lt;BR /&gt;V.</description>
    <pubDate>Wed, 14 Mar 2007 11:09:26 GMT</pubDate>
    <dc:creator>V. Nyga</dc:creator>
    <dc:date>2007-03-14T11:09:26Z</dc:date>
    <item>
      <title>Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034003#M431487</link>
      <description>Hi gurus,&lt;BR /&gt;&lt;BR /&gt;is it possible to allow a user to create a directory in one directory but disable file creation in this dir?&lt;BR /&gt;&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034003#M431487</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-03-14T11:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034004#M431488</link>
      <description>Why would not changing ownership and removing write priviledge not work?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;-dl</description>
      <pubDate>Wed, 14 Mar 2007 11:04:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034004#M431488</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2007-03-14T11:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034005#M431489</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;because they shall create directories there&lt;BR /&gt;&lt;BR /&gt;V.</description>
      <pubDate>Wed, 14 Mar 2007 11:09:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034005#M431489</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-03-14T11:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034006#M431490</link>
      <description>Now I've got the picture. Tough one since to Unix a directory is simply a file as well.&lt;BR /&gt;&lt;BR /&gt;Best of luck on this.&lt;BR /&gt;&lt;BR /&gt;-dl</description>
      <pubDate>Wed, 14 Mar 2007 11:14:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034006#M431490</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2007-03-14T11:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034007#M431491</link>
      <description>Hi Vo,&lt;BR /&gt;&lt;BR /&gt;No not possible, if you (the user) is allowed to write inside a directory unix will allow the creation of files and directories.&lt;BR /&gt;&lt;BR /&gt;Education of the users is only option :-)&lt;BR /&gt;&lt;BR /&gt;Gruss.&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 14 Mar 2007 11:14:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034007#M431491</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2007-03-14T11:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034008#M431492</link>
      <description>Probably ugly, but you might be able to sudo mkdir as root, so the permissions on the directory they wouldn't have.&lt;BR /&gt;&lt;BR /&gt;Only way I think it may be remotely possible.&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034008#M431492</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2007-03-14T11:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034009#M431493</link>
      <description>Volkmar,&lt;BR /&gt;quick, but not very permanent way is to set the umask of user to 222.&lt;BR /&gt;&lt;BR /&gt;That way they can create the dir (r-xr-xr-x), but within the dir they can not create a file as no write permission.&lt;BR /&gt;They user however could override by doing a chmod on the dir first.&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034009#M431493</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-03-14T11:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034010#M431494</link>
      <description>Well RJ,&lt;BR /&gt;&lt;BR /&gt;then any good suggestions for an applicable user education? *49*&lt;BR /&gt;&lt;BR /&gt;;-) V.</description>
      <pubDate>Wed, 14 Mar 2007 11:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034010#M431494</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-03-14T11:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034011#M431495</link>
      <description>"then any good suggestions for an applicable user education? *49*"&lt;BR /&gt;&lt;BR /&gt;Well, a bit nasty, but we have had to resort to this in the past; run a cron job (or daemon) to check the directory for regular (and binary) files periodicaly, change ownership and permission.&lt;BR /&gt;This forces the user to come to you to help release his/her "unauthorized" file.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;-dl</description>
      <pubDate>Wed, 14 Mar 2007 11:39:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034011#M431495</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2007-03-14T11:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034012#M431496</link>
      <description>dl,&lt;BR /&gt;&lt;BR /&gt;not bad - do you have more informations (cron command)?&lt;BR /&gt;&lt;BR /&gt;V.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:53:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034012#M431496</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-03-14T11:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034013#M431497</link>
      <description>I like the sudo idea. make the directory owned by some account other than the users. this keeps them from creating any file without using sudo. then write a script to mkdir under that directory. ex. put the following in file:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;sudo -u dir_owner mkir /path/to/dir/${1}&lt;BR /&gt;&lt;BR /&gt;then just have the users run that script when they need to make a directory under that specific directory.</description>
      <pubDate>Wed, 14 Mar 2007 12:10:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034013#M431497</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-14T12:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034014#M431498</link>
      <description>Ok.&lt;BR /&gt;Here's a down and dirty that can be edited to fit your needs.&lt;BR /&gt;&lt;BR /&gt;for i in `ls /directory/path/`&lt;BR /&gt;do&lt;BR /&gt;if [ -f $i ]&lt;BR /&gt;then&lt;BR /&gt;chown someone:whatever /directory/path/$i&lt;BR /&gt;chmod 400 /directory/path/$i&lt;BR /&gt;fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Best of luck.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;-dl</description>
      <pubDate>Wed, 14 Mar 2007 12:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034014#M431498</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2007-03-14T12:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034015#M431499</link>
      <description>Thanks all&lt;BR /&gt;&lt;BR /&gt;sudo will not work, because the directory creation is made by an application (not mine).&lt;BR /&gt;Nevertheless it's a nice idea ...&lt;BR /&gt;&lt;BR /&gt;This application is also the reason for my question - it creates the (sub-)dir's for the user, but sometimes something fails, so the application lays the files in this dir instead of creating the subdir and laying the files in the subdir.&lt;BR /&gt;Maybe the vendor can do something ...&lt;BR /&gt;&lt;BR /&gt;Thanks again!</description>
      <pubDate>Thu, 15 Mar 2007 04:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034015#M431499</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-03-15T04:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to allow dir creation but NOT file creation in a dir</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034016#M431500</link>
      <description>see above</description>
      <pubDate>Thu, 15 Mar 2007 05:46:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-allow-dir-creation-but-not-file-creation-in-a/m-p/5034016#M431500</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-03-15T05:46:05Z</dc:date>
    </item>
  </channel>
</rss>

