/[hurdextras]/libfuse/netfs.c
ViewVC logotype

Diff of /libfuse/netfs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by stesie, Sat Dec 3 19:01:25 2005 UTC revision 1.36 by stesie, Sat Dec 3 23:17:06 2005 UTC
# Line 77  netfs_validate_stat (struct node *node, Line 77  netfs_validate_stat (struct node *node,
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);

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26