From: Matthias A. <mat...@gm...> - 2008-06-30 15:51:01
|
Petr Uzel schrieb: > Hello, > > there seems to be a little incosistency between fetchmail manpage and the code > itself : > > The manpage claims that fetchmailrc can not have greater permissions than 600 > (u=rw) but fetchmail allows it to have 710 (u=rwx,g=x). > > I'm not sure which maximum permissions are correct - whether 600 or 710. (600 > make better sense to me as I do not see any reason why fetchmailrc should > have execute permission). Thanks for pointing this out; "executable" makes some sense if you put #! /usr/bin/fetchmail -f as the first line of your rcfile. I'll concede that 0710 isn't really sensible, since fetchmail needs to read the file and would require g=rx if you're not the owner (user)... but I'm not restricting it now for compatibility reasons. 6.3.9 will document 0700 but silently permit g+x for the nonce. Fixed in SVN r5211. The SVN repository is hosted at <http://mknod.org/svn/fetchmail/>, we're currently on <http://mknod.org/svn/fetchmail/branches/BRANCH_6-3/>, in case you want to pull a diff and patch. Best regards Matthias |