yeah, but all files and folders INSIDE the sapid folder are 777, which would cause that problem
Typically files should be at 644 and folders at 755, there's some rare exceptions, which usually is pointed out by the script author (cache folder would need 777, which works since that one is not...