Changeset 167 for trunk/source
- Timestamp:
- 12/30/08 02:21:26 (16 years ago)
- Files:
-
- trunk/source/pyhesiodfs/pyHesiodFS.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/source/pyhesiodfs/pyHesiodFS.py
r166 r167 144 144 st.st_size = len(hello_str) 145 145 elif '/' not in path[1:]: 146 if path[1:] not in self.negcache[self._ pid()] and self.findLocker(path[1:]):146 if path[1:] not in self.negcache[self._uid()] and self.findLocker(path[1:]): 147 147 st.st_mode = stat.S_IFLNK | 0777 148 148 st.st_uid = self._uid() … … 222 222 elif '/' not in path[1:]: 223 223 self.mounts[self._uid()][path[1:]] = src 224 self.negcache[self._ pid()].remove(path[1:])224 self.negcache[self._uid()].remove(path[1:]) 225 225 else: 226 226 return -errno.EPERM … … 231 231 elif '/' not in path[1:]: 232 232 del self.mounts[self._uid()][path[1:]] 233 self.negcache[self._ pid()].add(path[1:])233 self.negcache[self._uid()].add(path[1:]) 234 234 else: 235 235 return -errno.EPERM