From owner-freebsd-questions Thu Mar 30 12:18: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from posgate.acis.com.au (posgate.acis.com.au [203.14.230.14]) by hub.freebsd.org (Postfix) with ESMTP id 415F537B814 for ; Thu, 30 Mar 2000 12:18:00 -0800 (PST) (envelope-from andymac@bullseye.apana.org.au) Received: from bullseye.apana.org.au (uucp@localhost) by posgate.acis.com.au (8.9.3/8.9.3) with UUCP id GAA01352; Fri, 31 Mar 2000 06:17:38 +1000 Received: from bullseye.apana.org.au (central.apana.org.au [203.9.107.245]) by bullseye.apana.org.au (8.8.8/8.8.8) with SMTP id TAA07594; Thu, 30 Mar 2000 19:58:20 +1000 (EST) (envelope-from andymac@bullseye.apana.org.au) Date: Thu, 30 Mar 2000 19:55:15 +1000 (EST) From: Andrew MacIntyre To: Ariel Burbaickij Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 2 questions related to mtools In-Reply-To: Message-ID: X-X-Sender: andymac@bullseye.apana.org.au MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 29 Mar 2000, Ariel Burbaickij wrote: > 1) What steps are neccesary to allow to usually users to work > with mtools unconstraint(So far I/they get message of the form: > Could not initialze /dev/fd0 or something very simmilar,specifc > BSD definition of floppy disk interface)? I can think of several options:- a) go to the trouble of setting up sudo so that those users are given root perms for the mtools as they need them; b) create a group for users authorised for floppy access, and chgrp the floppy devices to that group with rw access; c) create a group and chmod the devices as for a), but setgid the mtools progs instead of adding users to the group (not recommended!); d) setuid root the mtools progs (definitely not recommended!). I would favour either a) or b) depending on circumstances and the cluefulness of the users concerned. While set[ug]id programs have their place, I prefer to avoid them if at all possible. > 2) Is -t option suitable to archived and gziped files(e.g. > I happen to get some interesting fllopies with tar and > gzipped programs but alas in DOS-format for newline.)? > If not what other solutions are possible? anything gzipped definitely not, and I wouldn't try it on ordinary tar files myself. If text files within such archives need conversion, do the CRLF<->LF conversion after extracting them from the archive. -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andrew.macintyre@aba.gov.au (work) | Snail: PO Box 370 andymac@bullseye.apana.org.au (play) | Belconnen ACT 2616 andymac@pcug.org.au (play2) | Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message