Re: regular user can destroy disk label?!?

2007-07-07 Thread Julian H. Stacey
Robert Watson wrote: On Wed, 4 Jul 2007, Julian H. Stacey wrote: Thomas Hurst wrote: * Julian H. Stacey ([EMAIL PROTECTED]) wrote: Either: - You made a typo with ar0s2 meant ad0s2, - Or you really mean ar - man 4 ar reports a comms card ! ataraid(4) exposes ATA RAID devices

Re: regular user can destroy disk label?!?

2007-07-06 Thread Robert Watson
On Wed, 4 Jul 2007, Julian H. Stacey wrote: Thomas Hurst wrote: * Julian H. Stacey ([EMAIL PROTECTED]) wrote: Either: - You made a typo with ar0s2 meant ad0s2, - Or you really mean ar - man 4 ar reports a comms card ! ataraid(4) exposes ATA RAID devices as ar%d: -% man 4 ataraid

Re: regular user can destroy disk label?!?

2007-07-04 Thread Thomas Hurst
* Julian H. Stacey ([EMAIL PROTECTED]) wrote: Either: - You made a typo with ar0s2 meant ad0s2, - Or you really mean ar - man 4 ar reports a comms card ! ataraid(4) exposes ATA RAID devices as ar%d: -% man 4 ataraid |grep /dev /dev/ar* ATA RAID device nodes -- Thomas 'Freaky'

Re: regular user can destroy disk label?!?

2007-07-04 Thread Julian H. Stacey
Thomas Hurst wrote: * Julian H. Stacey ([EMAIL PROTECTED]) wrote: Either: - You made a typo with ar0s2 meant ad0s2, - Or you really mean ar - man 4 ar reports a comms card ! ataraid(4) exposes ATA RAID devices as ar%d: -% man 4 ataraid |grep /dev /dev/ar* ATA RAID

regular user can destroy disk label?!?

2007-07-03 Thread Harald Schmalzbauer
Hello, accidentally I did 'bsdlabel -w ar0s2' as unprivileged user but it was successfull. Is this only possible because there was no mounted filesystem on it? But I can imagine having data on unmounted filesystems. Is it intended that regular useres can overwrite the label? That's a big fault

Re: regular user can destroy disk label?!?

2007-07-03 Thread Julian H. Stacey
Harald Schmalzbauer wrote: Hello, accidentally I did 'bsdlabel -w ar0s2' as unprivileged user but it was successfull. Likely you have a permissions problems. Report result of cd /dev ; ls -l . ar0s2 ad0s2 /sbin/bsdlabel On my 6.2-RELEASE for example I have an unwriteable combo