[DragonFlyBSD - Bug #3213] (New) hammer2: "ls" shows non-existent file
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Fri Nov 1 04:53:29 PDT 2019
Issue #3213 has been reported by peeter.
----------------------------------------
Bug #3213: hammer2: "ls" shows non-existent file
http://bugs.dragonflybsd.org/issues/3213
* Author: peeter
* Status: New
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
Perhaps the more precise characterization is that "ls" shows a file that should exist, but accessing it by any other means gives the error "No such file or directory". The file in question is the backup conf file of cups, /usr/local/etc/cups/printers.conf.0
I am seeing it on hammer2 on three different machines.
Reproduce as follows:
1 - install cups (rc.conf: cupsd_enable=YES, sudo service cupsd start) and create a printer via the web interface at localhost:631 --> Administration --> Add printer
2 - delete and add the printer again: see if cups has created a backup copy of the config file which has the suffix .0,
/usr/local/etc/cups/printers.conf.0
If yes, then try "ls -l" and "ls -l /usr/local/etc/cups/printers.conf.0" and see that the second one should give an error "ls: /usr/local/etc/cups/printers.conf.0: No such file or directory".
Actually, I now see that any file with the suffix .0 that cups creates shows this weird feature. For instance, Administration --> Edit configuration file --> then save will create cupsd.conf.0, which gives error with "ls -l cupsd.conf.0" while "ls -l cupsd.conf" is fine.
Peeter
--
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list