author |
<albertogli@telpin.com.ar> 2005-03-02 04:50:52 UTC |
committer |
<albertogli@telpin.com.ar> 2005-03-02 04:50:52 UTC |
parent | 46a9c7a53c211f59203cd35fcdfb5fc48077934b |
abk | +2 | -2 |
diff --git a/abk b/abk index 29b164f..daa6799 100644 --- a/abk +++ b/abk @@ -140,11 +140,11 @@ class file_info: self.copy_file_dev(dst) elif self.type == 'f': # we just create fifos - os.mkfifo(dst, self.type & 07777) + os.mkfifo(dst, self.mode & 07777) elif self.type == 'd': # we just create directories #os.mkdir(dst, self.type & 07777) - os.makedirs(dst, self.type & 07777) + os.makedirs(dst, self.mode & 07777) else: raise 'Unk type: 0x%x %d' % (self.mode, self.name)