ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@mivlgu.murom.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Re: [mdk-re] Права доступа
Date: Sat Aug 25 12:51:25 2001
Message-ID: <20010825100339.1062474b.vsu@mivlgu.murom.ru> (raw)
In-Reply-To: <20010824213344.A23771@localhost.localdomain>

On Fri, 24 Aug 2001 21:33:44 +0400
Sergey Sokolov <renar@inbox.ru> wrote:

> > > и от пользователя программы не работают?
> > 
> > А вот этого быть не должно, если программа действительно допускает
> > работу от пользователя (для программ настройки системы это нормально).
> > С какими пакетами конкретно проблемы?
> 
> Конкретно - mondo. Это пакет для полного бэк-апа. При попытке запустить от
> пользователя ругается на то, что нет прав доступа к свежесозданным логам и
> временным файлам.

Тогда все правильно, полный бэк-ап только от рута и можно провести -
иначе не удастся прочитать всю информацию.  И к логам тоже доступ не
дает по соображениям безопасности - иначе пользователь сможет увидеть
недоступные ему в нормальных условиях файлы.

> Я так понимаю, программа, имеющая хозяином рута,
> временные файлы создаёт тоже от рута.

Нет.  Владельцем файла становится пользователь, запустивший программу.
Исключением является случай, когда для программы установлен бит suid -
тогда действительно программа получает права того пользователя,
которому принадлежит исполняемый файл, и может среди прочего выбирать,
кому будут принадлежать создаваемые файлы.



      reply	other threads:[~2001-08-25 12:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-24 20:49 [mdk-re] Правадоступа Sergey Sokolov
2001-08-24 21:02 ` Sergey Vlasov
2001-08-24 21:38   ` [mdk-re] Re: [mdk-re] Права доступа Sergey Sokolov
2001-08-25 12:51     ` Sergey Vlasov [this message]

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=20010825100339.1062474b.vsu@mivlgu.murom.ru \
    --to=vsu@mivlgu.murom.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