From: Alexey Morsov <samurai@ricom.ru> To: community@altlinux.ru Subject: Re: [Comm] apache and user's home Date: Wed, 14 Apr 2004 17:49:16 +0400 Message-ID: <407D415C.3090806@ricom.ru> (raw) In-Reply-To: <1791.194.67.216.193.1081948863.squirrel@www.samdu.uz> Nizamov Shavkat wrote: >>>права на /home/morsov >>>они не дают апачу спускаться ниже по иерархии. >>>поставьте например 0755 (0700 - по умолчанию) >> >>Сработало... спасибо... как-то я не допер до этого ... ищу >>сложность там где ее быть не может > > > вот теперь будем гнать про безопасность %))) > > дело в том что при получившихся правах любой пользователь может > просматривать домашнюю директорию (и файлы, в зависимости от прав на них) > другого пользователя, что не есть хорошо. > > во избежание подобного, надо в группу пользователя morsov добавить apache, > а права выставлять 0750. и перезапустить апач. А вот я поставил на директорию /home/morsov 0711 и в ней на директорию public_html тоже 0711 - по идее ведь всякие ВСЕ могут только cd в эту директорию но не могут получить ее содержимого (ибо требуеться права на read а их нет), Так не катит? PS: Собственно иных юзеров кроме morsov и root на хосте нет (и не будет) > _______________________________________________ > Community mailing list > Community@altlinux.ru > http://lists.altlinux.ru/mailman/listinfo/community > -- С наилучшими пожеланиями, Алексей.
next prev parent reply other threads:[~2004-04-14 13:49 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-04-14 12:26 Alexey Morsov 2004-04-14 12:19 ` Nizamov Shavkat 2004-04-14 12:41 ` Alexey Morsov 2004-04-14 12:40 ` Nizamov Shavkat 2004-04-14 13:26 ` Alexey Morsov 2004-04-14 13:21 ` Nizamov Shavkat 2004-04-14 13:49 ` Alexey Morsov [this message] 2004-04-15 4:50 ` Eugene Prokopiev 2004-04-15 6:42 ` Alexey Morsov 2004-04-15 4:47 ` Eugene Prokopiev 2004-04-15 4:42 ` Nizamov Shavkat 2004-04-15 5:01 ` Eugene Prokopiev 2004-04-15 4:52 ` Nizamov Shavkat 2004-04-15 5:41 ` Eugene Prokopiev 2004-04-14 15:37 ` Aleksander N.Gorohovski 2004-04-14 13:02 ` Alexey Morsov
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=407D415C.3090806@ricom.ru \ --to=samurai@ricom.ru \ --cc=community@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