File privileges becomes wrong when I upload a webpage to a users sites-directory on a OS X Server 10.2.
Via ftp:
The files gets:
-rw-r-----
Directories:
drwxr-x---
Gets forbidden "Forbidden" when I'm trying to surf the site (http://server/~user/).
If I change manually with chmod 755 it works. But I shouldn't have to do that everytime.
If i upload via afp then...
...the directories gets:
drwxrwxrwx
and the files gets:
-rw-r--r--
Owner is "user", group is"staff".
Shouldn't the directories automaticly get:
drwxr-xr-x
and the files:
-rw-r--r--
?
I've ran "repair privileges" from the istall CD, but that didn't solve the problem.
What might be wrong?
Via ftp:
The files gets:
-rw-r-----
Directories:
drwxr-x---
Gets forbidden "Forbidden" when I'm trying to surf the site (http://server/~user/).
If I change manually with chmod 755 it works. But I shouldn't have to do that everytime.
If i upload via afp then...
...the directories gets:
drwxrwxrwx
and the files gets:
-rw-r--r--
Owner is "user", group is"staff".
Shouldn't the directories automaticly get:
drwxr-xr-x
and the files:
-rw-r--r--
?
I've ran "repair privileges" from the istall CD, but that didn't solve the problem.
What might be wrong?