diff options
author | Steve Slaven <bpk@hoopajoo.net> | 2009-11-04 00:28:34 (GMT) |
---|---|---|
committer | Steve Slaven <bpk@hoopajoo.net> | 2009-11-04 00:28:34 (GMT) |
commit | 0fa8bcc144320f7b37c0f3363e1e178e5935d2b2 (patch) | |
tree | ef5222a1303ddba74cf056e29203a0b66b65c773 /FuseArchive/FileSystem.py | |
parent | f43d183be8cfafa3c14fafa2b3de887db368fb53 (diff) | |
download | fusearchive-0fa8bcc144320f7b37c0f3363e1e178e5935d2b2.zip fusearchive-0fa8bcc144320f7b37c0f3363e1e178e5935d2b2.tar.gz fusearchive-0fa8bcc144320f7b37c0f3363e1e178e5935d2b2.tar.bz2 |
Fix for o_rdonly and getattr delegation
Diffstat (limited to 'FuseArchive/FileSystem.py')
-rw-r--r-- | FuseArchive/FileSystem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FuseArchive/FileSystem.py b/FuseArchive/FileSystem.py index 31470c5..64eae86 100644 --- a/FuseArchive/FileSystem.py +++ b/FuseArchive/FileSystem.py @@ -19,7 +19,7 @@ class FileSystem(fuse.Fuse): def getattr(self, path): treefile = "./tree" + path - if os.path.isfile( treefile ): + if os.path.isfile( treefile ) and not os.path.islink( treefile ): logging.debug( "Delegating getattr to File for " + path ) # Check in the dirty cache first (to handle lseek and the |