https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082019-11-01T12:17:40ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #3213: hammer2: "ls" shows non-existent filehttps://bugs.dragonflybsd.org/issues/3213?journal_id=138302019-11-01T12:17:40Zpeeterkaru.pruun@gmail.com
<ul></ul><p>fsck_hammer2 did not give any errors.</p>
<p>Peeter</p>
<p>--</p> DragonFlyBSD - Bug #3213: hammer2: "ls" shows non-existent filehttps://bugs.dragonflybsd.org/issues/3213?journal_id=139132020-06-27T16:07:35Zdaftaupepierre-alain@toret.fr
<ul></ul><p>Hello peeter,</p>
<p>I'm trying to reproduce that as I'm having cups and a printer setup on my laptop.<br />Here is the dir content :<br />$ ls <del>l /usr/local/etc/cups/<br />total 28<br />-rw------</del> 1 root cups 129 16-May-2020 12:17 classes.conf<br /><del>rw-r--r-</del> 1 root wheel 29375 30-May-2020 16:25 cups-browsed.conf<br /><del>rw-r----</del> 1 root cups 2965 05-Apr-2020 14:07 cups-files.conf<br /><del>rw-r----</del> 1 root cups 2965 05-Apr-2020 14:07 cups-files.conf.sample<br /><del>rw-r----</del> 1 root cups 6278 05-Apr-2020 14:07 cupsd.conf<br /><del>rw-r----</del> 1 root cups 6278 05-Apr-2020 14:07 cupsd.conf.sample<br />drwxr-xr-x 1 root cups 0 17-May-2020 09:43 ppd<br /><del>rw------</del> 1 root cups 748 23-Jun-2020 14:28 printers.conf<br /><del>rw------</del> 1 root cups 786 23-Jun-2020 14:27 printers.conf.O<br /><del>rw-r----</del> 1 root cups 142 05-Apr-2020 14:07 snmp.conf<br /><del>rw-r----</del> 1 root cups 142 05-Apr-2020 14:07 snmp.conf.sample<br />drwx------ 1 root cups 0 17-May-2019 18:25 ssl</p>
<p>I tried to copy / paste your line "/usr/local/etc/cups/printers.conf.0" (notice the last caracter is a zero), and I would get the same message</p>
<p>$ ls -l /usr/local/etc/cups/printers.conf.0 <br />ls: /usr/local/etc/cups/printers.conf.0: No such file or directory</p>
<p>But then I copy/pasted the actual file (with the letter capital o at the end) and I didn't get the issue.</p>
<p>I've confirmed by editing the config file (I ended up with a file ending with the letter O, not the number 0).</p>
<p>Did you type or copy/paste the output of ls ?</p> DragonFlyBSD - Bug #3213: hammer2: "ls" shows non-existent filehttps://bugs.dragonflybsd.org/issues/3213?journal_id=139152020-07-01T09:10:03Zpeeterkaru.pruun@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Checked again, indeed, it's the confusion between '0' (zero) and 'O' (character 'O').</p>
<p>Thanks, closing this.</p>