/usr/lib/python2.7/dist-packages/fts/filestat.py is in fts 1.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # -*- coding: utf-8 -*-
import os
import stat
from time import time
from fuse import Stat
class FileStat(Stat):
def __init__(self):
self.st_mode = stat.S_IFDIR | 0755
self.st_ino = 0
self.st_dev = 0
self.st_nlink = 2
self.st_uid = os.getuid()
self.st_gid = os.getgid()
self.st_size = 4096
self.st_atime = int(time())
self.st_mtime = self.st_atime
self.st_ctime = self.st_atime
|