From: cornet <cornet@zmail.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Apache & ftp
Date: Thu Aug 30 13:16:15 2001
Message-ID: <3B8E0510.F30C4A7D@zmail.ru> (raw)
In-Reply-To: <192517618250.20010830125632@yandex.ru>
Maxim Ivanov wrote:
>
> Hello Artem,
>
> Thursday, August 30, 2001, 12:40:55 PM, you wrote:
>
> AKJ> Здравствуйте, Maxim Ivanov <maxiva@yandex.ru>!
> AKJ> От Thu, 30 Aug 2001 12:29:41 +0400 вы писали на тему Re[2]:
> AKJ> [mdk-re] Apache & ftp:
>
> MI>> MI>> Что делать?
> MI>> AKJ> установить юзеру umask 022
> MI>>
> MI>> установлено.
> MI>>
> MI>> AKJ> и проследить чтобы Апач мог зайтить во
> MI>> AKJ> все папки /var/www/html,
> MI>>
> MI>> каким образом я буду прослеживать?
> AKJ> su apache и потом погулять по нужным папкам поможет стопроцентно,
> AKJ> надо только временно дать ему шелл. А вообще надо проследить
> AKJ> чтобы апач имел право на исполнение всех папок
> AKJ> /var
> AKJ> /var/www
> AKJ> /var/www/html
> AKJ> и нижеследующих
>
> MI>>
> MI>> AKJ> остальное должно приложиться.
> MI>>
> MI>> не приложилось...
> AKJ> а какой вывод у
> AKJ> ls -ld /var
> AKJ> ls -ld /var/www
> AKJ> ls -ld /var/html
>
> ls -ld /var
> drwxr-xr-x 20 root root 4096 Авг 27 17:31 /var
> ls -ld /var/www
> drwxr-xr-x 10 apache apache 4096 Авг 28 15:16 /var/www
> ls -ld /var/www/html
> drwxr-xr-x 13 apache apache 4096 Авг 30 10:20 /var/www/html
Ну и чего же Вы хотите? Никто, кроме Апача и root'а не может
записывать в целевой каталог!
Я бы сделал так:
ls -ld /var/www/html
drwx--x--x 13 webmaster webmaster 4096 Авг 30 10:20
/var/www/html
и так все каталоги ниже этого.
Про файлы я уже написал ранее.
--
******** FIRE & STEEL ********
next prev parent reply other threads:[~2001-08-30 13:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-30 10:04 Maxim Ivanov
2001-08-30 10:55 ` Artem K. Jouravsky
2001-08-30 12:29 ` Re[2]: " Maxim Ivanov
2001-08-30 12:35 ` Artem K. Jouravsky
2001-08-30 12:56 ` Re[4]: " Maxim Ivanov
2001-08-30 13:04 ` Sergey Degtyaryov
2001-08-30 13:16 ` cornet [this message]
2001-08-30 12:41 ` cornet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B8E0510.F30C4A7D@zmail.ru \
--to=cornet@zmail.ru \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git