[PVFS2-developers] pvfs2-mkdir annoyance

Neill Miller neillm at mcs.anl.gov
Thu Jul 1 12:54:53 EDT 2004


On Wed, 30 Jun 2004, Nathan Poznick wrote:

> PVFS_permissions PVFS_permissions_from_umask(int isdir);

Since we already have a method like this on the kernel side, I'd rather 
see the pvfs2_translate_mode method moved into pvfs2-utils and just call 
it with the mode you're looking for (i.e. 777 & ~umask() for dirs and 666 
& ~umask() for files).  It's cleaner and avoids the 'isdir' flag.

-Neill.


More information about the PVFS2-developers mailing list