URL: <http://savannah.gnu.org/bugs/?20907>
Summary: storeio: ENOENT on lookup causes clients to use underlying translator Project: The GNU Hurd Submitted by: hammy Submitted on: Sunday 08/26/2007 at 18:14 Category: Hurd Servers Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Reproducibility: Every Time Size (loc): None Planned Release: None Effort: 0.00 Wiki-like text discussion box: _______________________________________________________ Details: When layering a store over a file that doesn't exist `storeio' lookup of the store will return ENOENT, causing clients to use underlying translator instead. #v+ $ ls -a . .. $ settrans -ac foo -T file bar $ echo test > foo $ settrans -g foo $ cat foo test #v- The solution is to return another error instead. I'm not sure which one is appropriate, but I have attached a patch that returns EGRATUITOUS instead. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sunday 08/26/2007 at 18:14 Name: storeio-no-enoent.diff Size: 596B By: hammy <http://savannah.gnu.org/bugs/download.php?file_id=13806> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?20907> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd