Date: Thu, 30 Mar 2000 19:55:15 +1000 (EST) From: Andrew MacIntyre <andymac@bullseye.apana.org.au> To: Ariel Burbaickij <Ariel.Burbaickij@mni.fh-giessen.de> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 2 questions related to mtools Message-ID: <Pine.OS2.3.95.1000330193239.114B-100000@CENTRAL> In-Reply-To: <Pine.GSO.4.10.10003291335430.14321-100000@sun33>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OS2.3.95.1000330193239.114B-100000>
