NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item2351: Use filetest 'access' instead of 'stat'
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Urgent |
Closed |
Engine |
|
|
The file
.changes is hindered to be updated.
Foswiki checks file writing rights by default via 'stat'. On a file system like AFS, stat does not return the correct set of information. It is recommended to use 'access' instead.
Add to 'RcsFile.pm':
use filetest 'access';
--
AndreLichtsteiner - 12 Nov 2009
Any file under control of Foswiki's RCS should be writeable for it. why does it need a write access test? doesn't a simple -e suffice?
--
MichaelDaum - 12 Nov 2009
It would seem so, if we don't check for write-ability, we will get a meaninful error message I suppose when the file turns out not to be writeable (just the same as when a .txt is not writeable).
--
KoenMartens - 12 Nov 2009
Is this fixed?
--
KennethLavrsen - 25 Nov 2009
Oops, yes it is (by removing the checks completely).