ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Денис Черносов" <denis0.ru@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] Проблемы с правами на файлы.
Date: Wed, 28 Oct 2009 14:59:56 +0400
Message-ID: <d77783290910280359v367112cfj5398cf056bfbab04@mail.gmail.com> (raw)

# ls -l /var/log
-rw-------  1 root    root     3157 ��� 28 13:44 bandwidth
?---------  ? ?       ?           ?            ? boot.log
?---------  ? ?       ?           ?            ? clamav
-rw-------  1 root    root      832 ��� 28 13:50 cron
drwxr-xr-x  2 lp      sys       112 ��� 28 12:50 cups
-rw-r--r--  1 root    root    13846 ��� 28 13:43 dmesg
-rw-------  1 root    root       51 ��� 28 13:44 dovecot
drwxr-xr-x  2 root    root       48 ��� 13  2004 fax
drwx------  2 root    root      208 ��� 28 12:50 httpd
?---------  ? ?       ?           ?            ? iptraf
?---------  ? ?       ?           ?            ? maillog
?---------  ? ?       ?           ?            ? maillog.4
drwxrwsr-x  2 root    mailman    72 ��� 28 12:50 mailman
?---------  ? ?       ?           ?            ? messages
?---------  ? ?       ?           ?            ? messages.1
?---------  ? ?       ?           ?            ? messages.3
?---------  ? ?       ?           ?            ? messages.4
-rw-r-----  1 mysql   mysql     587 ��� 28 13:44 mysqld.log
?---------  ? ?       ?           ?            ? mysqld.log.4
?---------  ? ?       ?           ?            ? named-auth.log
?---------  ? ?       ?           ?            ? named-update.log
drwxr-xr-x  3 news    news      160 ��� 16  2005 news
-rwx------  1      26      26     0 ��� 16  2005 pgsql
drwx------  2 root    root       48 ��� 13  2004 ppp
drwxr-x---  2 quagga  quagga     48 ��� 12  2004 quagga
drwx------  3 radiusd radiusd   536 ���  1 04:05 radius
?---------  ? ?       ?           ?            ? rpmpkgs.4
drwx------  2 root    root      608 ��� 28 13:44 samba
-rw-------  1 root    root      732 ��� 28 13:50 secure
?---------  ? ?       ?           ?            ? secure.3
?---------  ? ?       ?           ?            ? secure.4
-rw-------  1 root    root        0 ��� 28 13:44 spooler
drwxr-x---  2 squid   squid     208 ��� 28 12:48 squid
drwxr-xr-x  2 uucp    uucp      120 ��� 16  2005 uucp


Файлы с вопросами не удаляются:
# rm -f clamav
rm: невозможно удалить `clamav': Permission denied

Права на них выставить тоже невозможно,

поставил проверку при перезагрузке:
# fsck.reiserfs --fix-fixable -a /dev/hda3
 - не помогло.


Перемонтировать в ro на рабочей системе не удалось:
# mount -o ro,remount /dev/hda3
mount: /var is busy


Ситуация осложняется тем, что сервер в другом городе.

Файловая система: reiserfs

Что посоветуете?

-- 
С уважением,
Черносов Денис

             reply	other threads:[~2009-10-28 10:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 10:59 Денис Черносов [this message]
2009-10-28 11:04 ` Andrey Rahmatullin
2009-10-28 14:42 ` Yura Kalinichenko
2009-10-29 10:26   ` Денис Черносов
2009-10-28 18:18 ` Michael Shigorin
2009-10-29 10:13   ` Денис Черносов

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=d77783290910280359v367112cfj5398cf056bfbab04@mail.gmail.com \
    --to=denis0.ru@gmail.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