Hi All, I'm a developer on the subversion project, and one of the things I'm trying to do is make the files in the .svn administrative directory read-only.
In order to do that I have to play around with permissions on a bunch of files. The problem I have run into is that if APR_OS_DEFAULT is is passed to apr_file_open, the resulting permissions are the result of the umask and APR_OS_DEFAULT. However, if apr_file_perms_set is used, the umask doesn't get applied, and all my files end up being rwxrwxrwx. Any ideas on a way to retrieve the umask, so that I can reliably use apr_file_perms_set to set file permissions to the users default preference? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Kevin Pilch-Bisson http://www.pilch-bisson.net "Historically speaking, the presences of wheels in Unix has never precluded their reinvention." - Larry Wall ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgp8Evf5iq3ng.pgp
Description: PGP signature
