Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 411173 | Differences between
and this patch

Collapse All | Expand All

(-)src/apps/fuse/pvfs2fuse.c (-2 / +4 lines)
Lines 507-514 Link Here
507
   ret = lookup( path, &pfh, PVFS2_LOOKUP_LINK_FOLLOW );
507
   ret = lookup( path, &pfh, PVFS2_LOOKUP_LINK_FOLLOW );
508
   if ( ret < 0 )
508
   if ( ret < 0 )
509
	  return PVFS_ERROR_TO_ERRNO_N( ret );
509
	  return PVFS_ERROR_TO_ERRNO_N( ret );
510
   
510
   /* FUSE passes in 5 octets in 'mode'. However, the the first 
511
   new_attr.perms = mode;
511
    * octet is not related to permissions, hence checking only
512
    *  the lower 4 octets */
513
   new_attr.perms = mode & 07777;
512
   new_attr.mask = PVFS_ATTR_SYS_PERM;
514
   new_attr.mask = PVFS_ATTR_SYS_PERM;
513
 
515
 
514
   ret = PVFS_sys_setattr(pfh.ref,new_attr,&pfh.creds);
516
   ret = PVFS_sys_setattr(pfh.ref,new_attr,&pfh.creds);

Return to bug 411173