* [sisyphus] php & tmp directories
@ 2013-01-26 13:22 Michael A. Kangin
2013-01-31 14:55 ` Денис Смирнов
0 siblings, 1 reply; 2+ messages in thread
From: Michael A. Kangin @ 2013-01-26 13:22 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Здравствуйте.
Случайно тут наткнулся на забавную штуку, что в Сизифе, в отличие от p6,
apache2-mod_php5 не может получить доступ к файлам в каталогах /tmp и
/var/tmp. (file_exists и всё такое)
Ничего не гуглится, в конфигах ничего такого запрещающего не вижу.
На всякий случай сделал control apache2-mod_php5 dev_relaxed
Думал, что проблема из-за 1777-прав доступа, но нет, в директории с
такими правами внутри /var/cache/somedir файлы видятся нормально.
Что за неведома настройка?
--
wbr, Michael A. Kangin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sisyphus] php & tmp directories
2013-01-26 13:22 [sisyphus] php & tmp directories Michael A. Kangin
@ 2013-01-31 14:55 ` Денис Смирнов
0 siblings, 0 replies; 2+ messages in thread
From: Денис Смирнов @ 2013-01-31 14:55 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 507 bytes --]
On Sat, Jan 26, 2013 at 05:22:28PM +0400, Michael A. Kangin wrote:
> Случайно тут наткнулся на забавную штуку, что в Сизифе, в отличие от p6,
> apache2-mod_php5 не может получить доступ к файлам в каталогах /tmp и
> /var/tmp. (file_exists и всё такое)
> Ничего не гуглится, в конфигах ничего такого запрещающего не вижу.
Кто владелец файлов? Если сам PHP-скрипт создает файл, то потом он его
видит? И какой у него при этом будет владелец/группа?
--
С уважением, Денис
http://mithraen.ru/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-31 14:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-26 13:22 [sisyphus] php & tmp directories Michael A. Kangin
2013-01-31 14:55 ` Денис Смирнов
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git