Права доступа.

  • Автор темы Автор темы dimant
  • Дата начала Дата начала

dimant

Новичок
Права доступа.

Пользуюсь хостингом от goldhost.ru (если это имеет значение)
В одном скрипте у меня идёт mkdir (dir);
Скрипт выдаёт ошибку

chdir(): Permission denied (errno 13)

Как поставить эти права доступа?
 
[m]mkdir[/m]

Note: When safe mode is enabled, PHP checks whether the directory in which you are about to operate has the same UID (owner) as the script that is being executed.
 
та же ситуация.

Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 794 is not allowed to access / owned by uid 0 in /pages/netlenka/mkdir.php on line 1

как изменить uid? что вообще нужно делать, дабы создать посредством mkdir папку?

как переназначать права?
 
Demiurg
а safe_mode_gid не поможет?

safe_mode_gid boolean
By default, Safe Mode does a UID compare check when opening files. If you want to relax this to a GID compare, then turn on safe_mode_gid. Whether to use UID (FALSE) or GID (TRUE) checking upon file access.

-~{}~ 10.06.04 16:10:

вопрос снят - не углядел PHP_INI_SYSTEM
 
Сверху