From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Date: Tue, 25 Nov 2008 17:22:40 +0300 From: Sergey Vlasov To: sisyphus@lists.altlinux.org Message-ID: <20081125142240.GT30445@newmaster.mivlgu.local> Mail-Followup-To: sisyphus@lists.altlinux.org References: <20081124095053.GA26431@ricom.ru> <20081125081927.GA17836@ricom.ru> <20081125112805.GE26330@wo.int.altlinux.org> <20081125113650.GB17836@ricom.ru> <20081125114224.GA18148@wo.int.altlinux.org> <492BEF6D.7010300@ancor.ru> <20081125123612.GF18148@wo.int.altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GTGEtWEe6jD60dxL" Content-Disposition: inline In-Reply-To: <20081125123612.GF18148@wo.int.altlinux.org> Subject: Re: [sisyphus] /dev/sg* permissions X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 14:22:50 -0000 Archived-At: List-Archive: List-Post: --GTGEtWEe6jD60dxL Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 25, 2008 at 03:36:12PM +0300, Dmitry V. Levin wrote: > On Tue, Nov 25, 2008 at 03:28:29PM +0300, Rafael Malikov wrote: > > Dmitry V. Levin wrote: [...] > > > =EE=C1 =C6=C1=CA=CC=D9 /dev/sg* =C4=CF=CC=D6=CE=D9 =C2=D9=D4=D8 =C4= =D2=D5=C7=C9=C5 =D0=D2=C1=D7=C1. > > > =F5 =CD=C5=CE=D1 =D4=C1=CD =D3=C5=CA=DE=C1=D3 =C7=D2=D5=D0=D0=C1 cdwr= iter. > > > =EE=C1=D7=C5=D2=CE=CF=C5, =D5 =D7=C1=D3 udev =D3=CF=DA=C4=C1=A3=D4 = =DC=D4=C9 =C6=C1=CA=CC=D9 =D3 =CE=C5=D0=D2=C1=D7=C9=CC=D8=CE=D9=CD=C9 =D0= =D2=C1=D7=C1=CD=C9. > > > =20 > > =D0=CF=CC=D5=DE=C1=C5=D4=D3=D1 =D5 =CD=C5=CE=D1 =D4=CF=D6=C5 =D3 =CE=C5= =D0=D2=C1=D7=C9=CC=D8=CE=D9=CD=C9? > >=20 > > [raf@raflinux ~]$ ls -all /dev/sg* > > crw-r----- 1 root disk 21, 0 =EE=CF=D1 24 11:15 /dev/sg0 > > crw-r----- 1 root disk 21, 1 =EE=CF=D1 24 11:15 /dev/sg1 > > crw-r----- 1 root disk 21, 2 =EE=CF=D1 24 11:15 /dev/sg2 >=20 > =E5=D3=CC=C9 =D5=D3=D4=D2=CF=CA=D3=D4=D7=C1 /dev/sg* =C9=CD=C5=C0=D4 =D4= =C1=CB=C9=C5 =D0=D2=C1=D7=C1, =D4=CF =CB =CE=C9=CD =C9=CD=C5=C5=D4 =C4=CF= =D3=D4=D5=D0 =D4=CF=CC=D8=CB=CF > root (=C9 =D0=D2=C9=D7=C9=CC=C5=C7=C9=D2=CF=D7=C1=CE=CE=D9=C5 =D0=D2=CF= =C7=D2=C1=CD=CD=D9). >=20 > > [raf@raflinux ~]$ uname -a > > Linux raflinux.ancor.ru 2.6.27-std-pae-alt2 #1 SMP Mon Nov 10 19:20:48 > > UTC 2008 i686 GNU/Linux > > [raf@raflinux ~]$ rpm -qa | grep udev > > udev-rules-130-alt6 > > udev-130-alt6 > > udev_static-addon-0.2-alt1 > > udev-initramfs-130-alt6 > >=20 > > =C9 =CB=D4=CF =D7=C9=CE=CF=D7=C1=D4? =CB=D5=C4=C1 =CB=CF=D0=C1=D4=D8? >=20 > =E8=CF=D2=CF=DB=C9=CA =D7=CF=D0=D2=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=D1 =D0=C5=D2=C5=C4=C1=DE=C9 =D0=D2=CF=C9= =DA=D7=CF=CC=D8=CE=D9=C8 =CB=CF=CD=C1=CE=C4, =DA=C1=CD=C5=CE=C1 /dev/sg* = =D3 =C2=CF=CC=C5=C5 =DB=C9=D2=CF=CB=C9=CD=C9 =D7=CF=DA=CD=CF=D6=CE=CF=D3=D4=D1=CD=C9 (=D4=C5=CF= =D2=C5=D4=C9=DE=C5=D3=CB=C9 =D4=C1=CD =CD=CF=D6=C5=D4 =C9=D3=D0=CF=CC=D8=DA= =CF=D7=C1=D4=D8=D3=D1 =CE=C5 =D4=CF=CC=D8=CB=CF SCSI). --GTGEtWEe6jD60dxL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFJLAowW82GfkQfsqIRAmIOAJ4+wSwKRnuGVEykQXqU1asE0iMYVACfQQ6Y oPZ6IfkCBqv5awFNnQC5vrM= =To44 -----END PGP SIGNATURE----- --GTGEtWEe6jD60dxL--