@orgin
Okay, unimplemented feature then
Whilst I can't begin to write such a spec, in the absense of one I suggest that you follow the pattern set by the existing file copying utilities.
The default's for any system are C:COPY and Workbench
C:COPY appears to copy all protection bits by default and has the NOPRO swicth which ignores all protection bits setting -r-w --- --- in the destination file.
Workbench copies all protection bits unaltered, if there an option to change that I can't find it.
DOpus4 has aswitch in the settings to switch on or off copying of protection bits. I have this on (not sure if it's the default)
DOpus5 on my a1200 always copied protection bits, I particularly remember that it's FTPmount equivalent would preserve them when copying to the ftp server, which is a much missed aspect of FTPMount that requires me to use ftp (the prgram) to upload CGI scripts.
All seem to discard the user and group id settings though, (which means I have to remember to set the user to 1000 for any file I want to access correcty from linux )
Here the output from ls -l for a set of copies
-rwxrwxr-x 1 root 1000 366 2005-12-06 12:00 where.pl
-rwxrwxr-x 1 root wheel 366 2005-12-06 12:00 where.pl_dopus
-rwx------ 1 root wheel 366 2009-06-18 10:49 where.pl_copy_nopro
-rwxrwxr-x 1 root wheel 366 2009-06-18 09:51 where.pl_copy
-rwxrwxr-x 1 root wheel 366 2005-12-06 12:00 where.pl_copy_clone
-rwx------ 1 root wheel 366 2005-12-06 12:00 where.pl_dopus_po
-rwx------ 1 root wheel 366 2005-12-06 12:00 where.pl_filer
-rwxrwxr-x 1 root wheel 366 2005-12-06 12:00 where.pl_workbench
So if you don't know how to handle it as the default could you make copying user / groups protection bits a user option (much as COPY or DOpus4)