Lines Matching refs:path

65         key_attr = "path"
66 unique_attrs = "path", "mode", "owner", "group", "preserve", "sysattr"
68 namespace_group = "path"
82 path = orig.get_installed_path(pkgplan.image.get_root())
83 if os.path.isfile(path) and self.in_use(path):
84 raise api_errors.FileInUseException(path)
87 path = self.get_installed_path(pkgplan.image.get_root())
88 if os.path.isfile(path) and self.in_use(path):
89 raise api_errors.FileInUseException(path)
91 def in_use(self, path):
95 os.rename(path, path)
149 if not os.path.exists(os.path.dirname(final_path)):
150 self.makedirs(os.path.dirname(final_path),
156 "install-only") and os.path.isfile(final_path)):
203 if os.path.exists(final_path) and \
204 not os.path.islink(final_path) and \
205 os.path.isdir(final_path):
219 tfilefd, temp = tempfile.mkstemp(dir=os.path.dirname(
325 self.attrs["path"])
331 warn = _("Could not set system attributes for {path}"
335 path=self.attrs["path"]
354 path = self.get_installed_path(img.get_root())
367 if path.lower().endswith("/bobcat") and args["verbose"] == True:
408 # on the canonical path, foiling the standard verify
425 # On path, only calculate the
438 path, elfhash=get_elfhash,
468 sha_hash, data = misc.get_data_digest(path,
501 set_attrs = portable.fgetattr(path,
505 set_attrs = portable.fgetattr(path)
577 is_file = os.path.isfile(final_path)
632 is_file = os.path.isfile(orig_path)
707 path = self.get_installed_path(pkgplan.image.get_root())
708 if not os.path.isfile(path):
720 path = self.get_installed_path(pkgplan.image.get_root())
729 self.save_file(pkgplan.image, path)
746 ihash, cdata = misc.get_data_digest(path,
749 pkgplan.salvage(path)
761 self.remove_fsobj(pkgplan, path)
774 pdir = os.path.dirname(path)
786 os.chmod(path, stat.S_IWRITE|stat.S_IREAD)
787 self.remove_fsobj(pkgplan, path)
807 # file path as the 'value' when showing results when the
815 ("file", "basename", os.path.basename(self.attrs["path"]),
817 ("file", "path", os.path.sep + self.attrs["path"], None)
856 assert not os.path.exists(full_path)