From: Torres, Aaron G <agtorre@la...> - 2012-09-13 16:14:20
I just pushed a change that fixes permissions for known operations. The new default behavior is:
owner always gets rwx for container dirs, if r or w is set for group or world then x must also be set on the container. For example:
chmod 040 -> _ r _
rwx rx _
I also modified Container::create (called when creat is called) to truncate a file if it doesn't exist to make it consistent with documentation and flat file mode. This change I'm a bit worried about. If we called this in other places it may hurt performance, but grepping around didn't reveal any of this.
ad_plfs_open now correctly returns the an error if MPI_MODE_EXCL is set and the file already exists and will no longer truncate a file under any circumstances. This leads to a discussion about fs_test that we can discuss at the meeting.
If David's testing goes well I'll tag this release.