ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@tangramltd.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Как рационально сделать (права записи)
Date: Fri, 02 May 2008 20:16:36 +0300
Message-ID: <481B4C74.1050403@tangramltd.com> (raw)
In-Reply-To: <481B4B0B.7040201@yandex.ru>

[-- Attachment #1: Type: text/plain, Size: 1822 bytes --]

Брагин Алексей пишет:
>>> Дело в том что в AltLinux 4 нельзя входить под root, поэтому 
>>> возникла такая задача Надо в определенной папке например, var 
>>> редактировать файлы разные, но приходится им постоянно задавать 
>>> права a+rwx, каждому отдельно. Очень неудобно, файлов много. Можно 
>>> как то сделать, что бы одним разом поменять все права всех файлов 
>>> для определенного пользователя. Заранее извиняюсь за ламерство.
> Дело в том, что надо редактировать стронними программами разными, а не 
> конссолью, файловый менежер крузайдер  с root привелегиями не помогает 
> в этом плане, нажимаю открыть с помощью программы такой то, потом 
> сохранить, и появляется предупреждение о правах записи.
Так вопрос про то как поменять права или как редактировать файлы на 
редактирование которых у вас нет прав?
Ответ на первый вопрос - это использовать команду chmod c маской файла.
На второй: тут наверно лучше разрешить запись в файл определенной 
группе, например webadmin и включить пользователя в эту группу.

-- 
WBR,
Dubrovskiy Vyacheslav


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3249 bytes --]

  parent reply	other threads:[~2008-05-02 17:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-02 16:38 Брагин Алексей
2008-05-02 16:42 ` [Comm] Как рационально сделать ( права записи ) Serge
2008-05-02 16:46 ` [Comm] Как рационально сделать (права записи) Ильфат
2008-05-02 16:54 ` Motsyo Gennadi aka Drool
2008-05-02 16:58   ` [Comm] Как рационально сделать ( права записи ) Serge
2008-05-02 17:06     ` Ильфат
2008-05-02 17:08     ` Motsyo Gennadi aka Drool
2008-05-02 17:10   ` [Comm] Как рационально сделать (права записи) Брагин Алексей
2008-05-02 17:11     ` Motsyo Gennadi aka Drool
2008-05-02 17:14     ` Ильфат
2008-05-02 17:16     ` Slava Dubrovskiy [this message]
2008-05-02 19:12       ` Andrey Rahmatullin
2008-05-02 19:18     ` Michael Pozhidaev

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=481B4C74.1050403@tangramltd.com \
    --to=slava@tangramltd.com \
    --cc=community@lists.altlinux.org \
    /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