From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,96296bb60aa5db9 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!wns13feed!worldnet.att.net!209.244.4.230!newsfeed1.dallas1.level3.net!news.level3.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Ada.Directories Date: 16 Nov 2007 12:47:34 -0600 Organization: LJK Software Message-ID: <2RIj24Mk3Qk$@eisner.encompasserve.org> References: <1o4hp0vtlenw0.jql7yewhhr4a.dlg@40tude.net> <1192912525.922514.185180@q3g2000prf.googlegroups.com> <1193051315.233759.154400@v29g2000prd.googlegroups.com> <28cjl7did6nn.2ikjpx3qf1mw$.dlg@40tude.net> <1589560.JmWJu6PyXJ@linux1.krischik.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1195238767 28848 192.135.80.34 (16 Nov 2007 18:46:07 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Fri, 16 Nov 2007 18:46:07 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:18445 Date: 2007-11-16T12:47:34-06:00 List-Id: In article <1589560.JmWJu6PyXJ@linux1.krischik.com>, Martin Krischik writes: > Dmitry A. Kazakov wrote: >> No, I still haven't got it. But because we don't have a workable >> definition of hard link, it just makes no sense to me to discuss it. And >> even if we had, it were totally irrelevant to the issue of >> Ada.Directories. > > Sure we have. Each file is linked at least once and deleted if not. > > I thought the discussion if about when a user is allowed to link / unlink > what kind of file. > > And that is simple - you are not allowed to link or unlink directories. rm > is a high level command - try the low level "unlink" command and you will > see that it won't unlink any directory. And on the other hand ln won't > create links for directories. At least not on any unix I have come across. But the title of this topic is not restricted to Unix. On VMS you can certainly apply SET FILE/ENTER and SET FILE/REMOVE to a directory.