ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Проблемы с правами на файлы.
@ 2009-10-28 10:59 Денис Черносов
  2009-10-28 11:04 ` Andrey Rahmatullin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Денис Черносов @ 2009-10-28 10:59 UTC (permalink / raw)
  To: ALT Linux Community general discussions

# 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

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-29 10:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-28 10:59 [Comm] Проблемы с правами на файлы Денис Черносов
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   ` Денис Черносов

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