<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="/horde/whups/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>creating new file seems to ignore the directory's ACL</title>
  <pubDate>Sun, 04 Oct 2026 04:37:48 +0200</pubDate>
  <link>http://www.polarhome.com/horde/whups/ticket/?id=14</link>
  <atom:link rel="self" type="application/rss+xml" title="creating new file seems to ignore the directory's ACL" href="http://www.polarhome.com/horde/whups/ticket/rss.php?id=14" />
  <description>creating new file seems to ignore the directory's ACL</description>

  
  
  <item>
   <title>When a new file is created in VMS (e.g. using CREATE, or by </title>
   <description>When a new file is created in VMS (e.g. using CREATE, or by FTP-putting the file), the access rights are set based on
1) the default process protection (the &quot;umask&quot;) - see SHOW PROT,
2) the directory's ACL
the latter taking precedence.

It seems that vim does not do step 2, i.e. it does not consult the directory's ACL, and only checks the umask.

As a result, files freshly created using vim may have different protection settings than files created with other editors.

Example:
$ set prot=w /default
$ sh prot
    SYSTEM=RWED, OWNER=RWED, GROUP=RE, WORLD=NO ACCESS
$ cre/dir [.abc]
$ set secu []abc.dir /delete=all/acl=(default_protection,s:rwed,o:rwed,g:r,w:r)
$ dir/acl abc.dir
...
ABC.DIR;1
          (DEFAULT_PROTECTION,SYSTEM:RWED,OWNER:RWED,GROUP:RE,WORLD:RE)
...
$ set def [.abc]
$ create novim.txt
[ctrl-z to end input]
$ vim vim.txt
[:wq in vim]
$ dir/prot
...
NOVIM.TXT;1          (RWED,RWED,RE,RE)
VIM.TXT;1            (RWD,RWD,R,)
...

As seen, the files have different protection rights set up:
- NOVIM.TXT is world-readable, because it respects the default ACLs of ABC.DIR
- VIM.TXT is world-unreadable, because vim only consulted the default protection (as seen in SHOW PROT)

I guess this is not correct.</description>
   <pubDate>Thu, 20 Feb 2014 11:55:00 +0100</pubDate>
   <link>http://www.polarhome.com/horde/whups/ticket/?id=14#t28</link>
  </item>
  

 </channel>
</rss>
