You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dave mentioned this yesterday, and I can confirm that pftool does not preserve directory permissions on the destination when copying. The destination directories always have the mode 0700. This is true whether copying from POSIX to POSIX or from POSIX to MarFS. For example:
$ umask
0002
$ ls -la ./perm_test
total 1056
drwxr----x 2 wfvining wfvining 4096 Oct 12 12:41 td
-rw-r----- 1 wfvining wfvining 262144 Oct 12 10:38 sf.4
-rw-r----- 1 wfvining wfvining 262144 Oct 12 10:38 sf.3
-rw-r----- 1 wfvining wfvining 262144 Oct 12 10:38 sf.2
-rw-r----- 1 wfvining wfvining 262144 Oct 12 10:38 sf.1
drwxr-xr-x 28 wfvining wfvining 8192 Oct 12 12:42 ..
drwxr----- 3 wfvining wfvining 4096 Oct 12 12:41 .
$ mpirun -np 4 pftool -w 0 -r -p `pwd`/perm_test -c `pwd`/perm_test2
[...]
$ ls -la ./perm_test2
total 1056
drwx------ 3 wfvining wfvining 4096 Oct 12 12:42 .
drwxr-xr-x 28 wfvining wfvining 8192 Oct 12 12:42 ..
-rw-r----- 1 wfvining wfvining 262144 Oct 12 10:38 sf.1
-rw-r----- 1 wfvining wfvining 262144 Oct 12 10:38 sf.2
-rw-r----- 1 wfvining wfvining 262144 Oct 12 10:38 sf.3
-rw-r----- 1 wfvining wfvining 262144 Oct 12 10:38 sf.4
drwx------ 2 wfvining wfvining 4096 Oct 12 12:42 td
(Note: the default behavior of cp is to preserve the directory mode on the destination.)
The text was updated successfully, but these errors were encountered:
Dave mentioned this yesterday, and I can confirm that pftool does not preserve directory permissions on the destination when copying. The destination directories always have the mode
0700
. This is true whether copying from POSIX to POSIX or from POSIX to MarFS. For example:(Note: the default behavior of
cp
is to preserve the directory mode on the destination.)The text was updated successfully, but these errors were encountered: