Lines Matching refs:path
46 key_attr = "path"
47 unique_attrs = "path", "mode", "owner", "group"
50 namespace_group = "path"
54 return (self.attrs["path"] > other.attrs["path"]) - \
55 (self.attrs["path"] < other.attrs["path"])
73 return [os.path.normpath(self.attrs["path"])]
75 def __create_directory(self, pkgplan, path, mode, **kwargs):
79 self.makedirs(path, mode=mode,
82 if e.filename != path:
84 # of the path.
87 fs = os.lstat(path)
112 "try again.").format(path)
121 pkgplan.salvage(path)
122 os.mkdir(path, mode)
127 os.chmod(path, mode)
153 path = self.get_installed_path(pkgplan.image.get_root())
156 self.fsobj_checkpath(pkgplan, path)
163 self.__create_directory(pkgplan, path, mode)
178 os.chmod(path, mode)
184 self.__create_directory(pkgplan, path,
197 pkgplan.salvage_from(salvage_from, path)
201 portable.chown(path, owner, group)
207 self.__create_directory(pkgplan, path,
220 path = self.get_installed_path(pkgplan.image.get_root())
222 os.rmdir(path)
229 pkgplan.salvage(path)
234 pkgplan.salvage(path)
235 elif e.errno == errno.EBUSY and os.path.ismount(path):
244 path)
249 # os.path.ismount() is broken for lofs
256 "mountpoint.").format(path)
269 os.path.basename(self.attrs["path"].rstrip(os.path.sep)),
271 (self.name, "path", os.path.sep + self.attrs["path"],