I have run into a strange issue only recently and scratching my head trying to figure this out.
When compiling (saving) changes in a *.scss file, the outputted css file has its permissions change. So when previewing the page in a browser the global.css
file cannot be read and the error message returned is as follows :
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<h1>Forbidden</h1>
<p>You don't have permission to access /styles/global.css
on this server.</p>
</body>
</html>
This is when looking at the file global.css
via Firebug.
Using terminal I can change the file permissions with something along the lines of:
sudo chmod -R 775 htdocs
Then things work fine until I do a recompile. And the file permission properties changes again.
I have tried many things to fix this issue with no success :
These include
compass clean
and accessing MAMP and changing my permissions this way. I have also tried deleting the folder and starting again a new. I have uninstalled compass and sass and reinstalled, and still the issue exists.
Also as a note the scss permissions don't change but only the compiled css file. I don't know if this helps?