
23 Aug
2007
23 Aug
'07
6:10 a.m.
On Thu, 23 Aug 2007, Simon Marlow wrote:
I propose to deprecate all this, in favour of using platform-specific functionality instead. Here's why:
* Most uses of `getPermissions` are wrong. If you use `getPermissions` to predict whether a future operation will fail or not, then the right thing to do is to perform the operation and catch the failure exception.
very true
These functions are hardly ever used. I did a Google code search for setPermissions and aside from implementations of setPermissions itself and tests for it, I came up with:
I used setting of permissions for 'install' like commands. E.g., I generated some HTML and wrote it to some place where it must be accessed by the werb server.