views:

17

answers:

1

Hello

I use MAMP as my local development environment. A persistent problem I have is reliably setting folder/file permissions.

For example, I currently have an images folder I need 666 permissions on. In the more info menu in the mac finder my permissions are read & write. However in the Dreamweaver permissions dialog the same folder has 000 permissions. This resets to 000 every time I leave the dialog.

So I have one screen saying I have full permission and another saying I have none for the same folder. When attempting test uploads to this folder, my script returns an error when moving the file from the tmp location.

chmod ($directory, 0755) returns false.

The temporary file exists

Help?

A: 

A folder should have an execute bit, in this case 777. Without it, the folder can't be read.

Lekensteyn
ok, but how do I set that reliably when my permissions are reset every time?
YsoL8
What filesystem is that folder on?FAT and NTFS can't work with Unix permissions.
Lekensteyn

related questions