http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36755
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #26305|0 |1
is obsolete| |
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-12
17:31:37 UTC ---
Created attachment 26307
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26307
Improved version: POSIXly correct chmod as separate program
Attached: A "chmod" program, which takes a string and a file name and should
act as a POSIX chmod program would do. Thus, it honors the "umask", allows for
fancy combinations such as "g+w-r,a+x,-w,o=u,u+s,+t".
TODO:
- Convert this into libgfortran/intrinsic/chmod.c
- Write a fancy documentation for
http://gcc.gnu.org/onlinedocs/gfortran/CHMOD.html which actually describes
which modes are supported - and stats that the mode argument is in line with
the "chmod utility" of POSIX (IEEE Std 1003.1-2001).