Index: trunk/source/pyhesiodfs/pyHesiodFS.py =================================================================== --- trunk/source/pyhesiodfs/pyHesiodFS.py (revision 159) +++ trunk/source/pyhesiodfs/pyHesiodFS.py (revision 160) @@ -98,5 +98,5 @@ st = MyStat() if path == '/': - st.st_mode = stat.S_IFDIR | 0755 + st.st_mode = stat.S_IFDIR | 0777 st.st_nlink = 2 elif path == hello_path: @@ -107,4 +107,5 @@ if self.findLocker(path[1:]): st.st_mode = stat.S_IFLNK | 0777 + st.st_uid = self._user() st.st_nlink = 1 st.st_size = len(self.findLocker(path[1:])) @@ -176,4 +177,12 @@ buf = '' return buf + + def unlink(self, path): + if path == '/' or path == hello_path: + return -errno.EPERM + elif '/' not in path[1:]: + del self.mounts[self._user()][path[1:]] + else: + return -errno.EPERM def main():