77 |
node->nn_stat.st_dev = getpid(); |
node->nn_stat.st_dev = getpid(); |
78 |
node->nn_stat.st_blksize = 1 << 12; /* there's probably no sane default, |
node->nn_stat.st_blksize = 1 << 12; /* there's probably no sane default, |
79 |
* use 4 kB for the moment */ |
* use 4 kB for the moment */ |
80 |
|
|
81 |
|
if(libfuse_params.force_uid) |
82 |
|
node->nn_stat.st_uid = libfuse_params.uid; |
83 |
|
|
84 |
|
if(libfuse_params.force_gid) |
85 |
|
node->nn_stat.st_gid = libfuse_params.gid; |
86 |
|
|
87 |
|
if(libfuse_params.force_umask) |
88 |
|
node->nn_stat.st_mode &= ~libfuse_params.umask; |
89 |
} |
} |
90 |
|
|
91 |
FUNC_EPILOGUE(err); |
FUNC_EPILOGUE(err); |