ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: magedon.zt@gmail.com
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] права на устройства
Date: Thu, 10 Jul 2008 00:38:37 +0300
Message-ID: <200807100038.37870.magedon.zt@gmail.com> (raw)
In-Reply-To: <486F36ED.8040006@cg.ru>

Доброе время суток, уважаемые
Была у меня IDEшная DVDписалка. Много и без проблем написала болванок. Но вот 
пришла старость, вышла гарантия и  перестала она воспринимать CD. Вооще 
никак. Купил новую DVDписалку. SATAшную. Вставил и все заработало. Но K3b 
начал постоянно при старте ругаться, что мол не имею права писать на старую 
писалку. Я ее не вынял - она же с dvd нормально работает.
Так вот, сравниваю  права доступа на эти писалки

[magedon@castle ~]$ ls -l /dev/hdb
brw-r----- 1 root cdrom 3, 64 Июл  9  2008 /dev/hdb
[magedon@castle ~]$ ls -l /dev/sr0
brw-rw---- 1 magedon cdwriter 11, 0 Июл  9  2008 /dev/sr0

Ну я ему сделал:
sudo chown root:cdwriter /dev/hdb
sudo chmod g+w /dev/hdb

Проблема исчезла до перезагрузки. После перезагрузки права на устройство у 
меня снова отобрали :(

Вопросы 
1. Почему? 
2. Как это правильно исправить? 
3. И почему в /dev куча устройст принадлежит пользователю а не rootу?
crw-rw---- 1 magedon audio      14,   12 Июл  9  2008 adsp
crw-rw---- 1 magedon audio      14,    4 Июл  9  2008 audio
crw-rw---- 1 magedon audio      14,    3 Июл  9  2008 dsp
crw------- 1 magedon root       29,    0 Июл  9  2008 fb0
srwx------ 1 magedon root              0 Июл  9 01:50 gpmctl
crw-rw---- 1 magedon audio      14,    0 Июл  9  2008 mixer
crw------- 1 magedon root      195,  255 Июл  9 01:50 nvidiactl
crw-rw---- 1 magedon audio      14,    1 Июл  9  2008 sequencer
crw-rw---- 1 magedon audio      14,    8 Июл  9  2008 sequencer2
brw-rw---- 1 magedon cdwriter   11,    0 Июл  9  2008 sr0
crw--w---- 1 magedon tty         4,    1 Июл  9 01:47 tty1

Спасибо.

  reply	other threads:[~2008-07-09 21:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 15:38 [Comm] usb-gprs Van Petrov
2008-06-25 16:32 ` Владимир Гусев
2008-06-27 11:36   ` Van Petrov
2008-06-26 17:46 ` Victor
2008-07-05  8:55 ` Радик Юсупов
2008-07-09 21:38   ` magedon.zt [this message]
2008-07-10  4:19     ` [Comm] права на устройства Igor Vlasenko

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=200807100038.37870.magedon.zt@gmail.com \
    --to=magedon.zt@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