Linux-Misc Digest #488, Volume #25 Fri, 18 Aug 00 15:13:02 EDT
Contents:
Re: Does cdrecord really work with IDE CD-R?? (Lew Pitcher)
Re: bash aliases, and an X question (Hammer)
Re: Problems with Big partitions? (Dances With Crows)
Re: Are there substantially more/less RPMs for RH or SuSE? (alex)
Re: Adding multiple users in school environment (Doug O'Leary)
Re: Desktop Database (Dances With Crows)
Re: STTY and ERASE (Tony Lawrence)
nntp: posting not allowed - tin? (Doug O'Leary)
Sound in flash (=?iso-8859-1?Q?Jos=EDas=20Galv=E1n?= Reyes)
Help! Urgent problem with gzip (Daniel Doreika)
Re: BUG IN DYNAMIC LINKER ("Marina")
burnt iso image (Ian Mortimer)
Re: newsgroup reader??? (Garry Knight)
Re: HELP: Mandrake 7.1 Won't Complete Boot (Kichi Leung)
Re: Help! Urgent problem with gzip (mst)
Timestamp problem with VFAT files. (Charles Sullivan)
Re: STTY and ERASE (Frank da Cruz)
Re: How do you determine the job number from lpr? (Arlan Lucas de Souza)
Timestamp problem with VFAT files. (Charles Sullivan)
regex example (john slimick)
Re: Help! Urgent problem with gzip (Tony Lawrence)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Lew Pitcher)
Crossposted-To: comp.os.linux.hardware,mailing.comp.cdwrite
Subject: Re: Does cdrecord really work with IDE CD-R??
Reply-To: [EMAIL PROTECTED]
Date: Fri, 18 Aug 2000 16:59:23 GMT
On Fri, 18 Aug 2000 16:28:48 GMT, [EMAIL PROTECTED]
(Scott Alfter) wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>In article <[EMAIL PROTECTED]>, Arnold Selby <[EMAIL PROTECTED]> wrote:
>>I have failed bout 40 timess in succession attempting to write the
>>same 7 audio wav files
>>to various (memorex and TDK) CDRs.
>>After 4 coasters, I shifted to -dummy.
>>
>>I have tried cdrecord 1.8, 1.9 and 1.10a; and have also upgraded my
>>drive to the latest firmware on my mitsumi
>
>Hmm...one thing I noticed was that you're running an SMP kernel on a
>non-SMP-capable system; this probably doesn't make a difference one way or
>the other, but why are you doing this? Assuming that your drive is working
>right and you don't have something hogging the processor, you shouldn't be
>having these problems. I have a BTC BCE621E (?) 2x IDE burner in a 450-MHz
>K6-III box, and the only time I've burned a coaster was when Win98 locked up
>during a burn. I've never burned a coaster under Linux. I've used Maxell,
>Sony, Memorex, and several no-name CD-R and CD-RW media with it, and the
>only problem that's popped up was that one of the no-name CD-Rs was
>unreadable by one of my older CD-ROM drives (a Mitsumi 6x CD-ROM, IIRC...and
>given that it's a Mitsumi CD burner that you're using, I'm beginning to
>wonder if there's a pattern of problems developing here that centers around
>their hardware).
FWIW, I use a Mitsumi CR4802-TE IDE CD-RW burner under the Linux
2.0.38 non-SMP kernel (on a single processor machine) and CDRECORD 1.9
without problems. I've burnt several audio and data CDR and CDRW disks
without making a single coaster (using Shark CD-RW and Memorex CD-R
disks).
I have upgraded to the latest microcode, but even with the original
microcode, I had no problems with creating CDRs on the Mitsumi drive.
Lew Pitcher
Information Technology Consultant
Toronto Dominion Bank Financial Group
([EMAIL PROTECTED])
(Opinions expressed are my own, not my employer's.)
------------------------------
From: Hammer <[EMAIL PROTECTED]>
Subject: Re: bash aliases, and an X question
Date: Fri, 18 Aug 2000 16:45:45 GMT
Thanks to all of you who responded to my querry... everything is
working great now :) Those were just two "niggle" things that were
annoyong me... no more! Brilliant.
I'll check out those bash functions, thanks.
-=hammer
In article <8njbai$m52$[EMAIL PROTECTED]>,
-ljl- <[EMAIL PROTECTED]> wrote:
> In article <8nfflb$aa5$[EMAIL PROTECTED]>,
> Hammer <[EMAIL PROTECTED]> wrote:
> > I'm dumb, please don't hold that against me :)
> >
> > Q1) I have some aliases and exported paths and such in my .bashrc
>
> You might want to explore bash's functions which are superior to
> aliases. They are exportable too, export -f. See the man-page.
>
> Guess GNU included alias support as a compatability move.
> --
> Louis-ljl-{ Louis J. LaBash, Jr. }
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
--
MC
"I've been trying to get as far away from myself as I can" - Bob Dylan
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: linux.redhat.list
Subject: Re: Problems with Big partitions?
Date: 18 Aug 2000 17:00:40 GMT
Reply-To: [EMAIL PROTECTED]
On 18 Aug 2000 13:49:13 GMT, GianPiero Puccioni wrote:
>I am having some problem with a big (~ 50 Gbytes) ext2 partition, and I
>wonder if there is somewhere a limit (I have heard that the limit is 2048
>Gig but maybe there is something else...).
[snipp]
>Any idea what can cause this problem?
Hmm. IIRC, there were problems with filesystems > 32G in kernels before
2.2.14. If you haven't updated the kernel since getting RH 6.1, you're
running 2.2.12-something... it might be about time to get the latest
version. Hardware has just been going a little faster than software
here, and I guess the sudden advent of Really Big Disks exposed a bug or
2 in the kernel....
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Those who do not understand Unix are
http://www.brainbench.com / condemned to reinvent it, poorly.
=============================/ ==Henry Spencer
------------------------------
From: [EMAIL PROTECTED] (alex)
Subject: Re: Are there substantially more/less RPMs for RH or SuSE?
Date: Fri, 18 Aug 2000 17:00:45 GMT
On Sun, 13 Aug 2000 21:32:56 -0700, blowfish
<[EMAIL PROTECTED]> wrote:
>>
>> Are 'ports' only available as source packages? Building from source
>> packages is all well and fine by have you ever tried compiling KDE
>> from source? It takes a couple hours to crunch through that assuming
>> you have all the pieces needed to build it and some of us don't have
>> that time...
>>
>Sorry for this very late reply. It just showed up on my news server.
>
>Port will fetch everything, all dependency files, MD5 checked, patched the
>necessary patches, then configure, build and install without baby sitting.
>
>> --
>> Prasanth Kumar
>> [EMAIL PROTECTED]
And binary packages are also availible from the website and on the
install CDs. Somethimes, that can be good when you do not have the
time/space to compile something(Mozilla . . . compiling that took up
half a gig of space! )
------------------------------
From: Doug O'Leary <[EMAIL PROTECTED]>
Crossposted-To: alt.linux.slakware,alt.os.linux.slackware
Subject: Re: Adding multiple users in school environment
Date: Fri, 18 Aug 2000 12:15:37 -0700
> Yeah, cool, huh? So what should he do, make a
> script to modify /etc/passwd directly?
We must have read separate man pages. /usr/sbin/newusers does modify the
passwd file.
> The users would initially have no passwords, but...it would
> be a start.
Nope; newusers does that too...
> In addition, he would automaticly create the /home/users
> automaticly via the script as well--after temporarily adjusting the
> umask to 077...
And that... Like I said; we must have read different man pages.
The only thing that I could see that it doesn't do is put in the default
.[A-z]* files from /etc/skel.
newusers takes, as an argument, the name of a file that contains the list
of users to add. What I used in my test is the following:
test1:3biteme:600:100:testing:/home/test1:/bin/bash
test2:3biteme:601:100:testing:/home/test2:/bin/bash
test3:3biteme:602:100:testing:/home/test3:/bin/bash
test4:3biteme:603:100:testing:/home/test4:/bin/bash
test5:3biteme:604:100:testing:/home/test5:/bin/bash
test6:3biteme:605:100:testing:/home/test6:/bin/bash
...
test49:3biteme:648:100:testing:/home/test49:/bin/bash
test50:3biteme:649:100:testing:/home/test50:/bin/bash
So, to add the users and copy the /etc/ske/.[A-z]* files in, the script
would look like:
####################################
#!/bin/bash
new_user_file=/root/list_o_users
tar_file=/etc/skel/skel.tar
home=/home
/usr/sbin/newusers ${new_user_file}
cd /etc/skel
tar -cf ${tar_file} .
for user in $(awk -F: '{print $1}' ${new_user_file})
do
cd ${home}/${user}
tar -xf ${tar_file}
chown -R ${user}:users ${home}/${user}
done
rm ${new_user_file}
rm /etc/skel/skel.tar
#######################################
NOTE: Realize that script's completely off the cuff and hasn't been
tested. It shouldn't be too far off the mark, however.
> Could anyone tell me and him where we could find
> info on 'expect' scripting? I don't know exactly
> what he might do with regard to shell scripting
> syntax, but to see how the /etc/passwd is going to
> change he could do a 'tail -f /etc/passwd' in one
> terminal while he added a couple of 'fake' users
> in the next terminal. Then, script a solution,
> accordingly.
O'Reillys has a good book on expect, "Exploring Expect", ISBN: 1-56592-
090-2. Although using it, in this case, would be reinventing the wheel;
something I try to avoid if at all possible.
Doug
--
===================
Douglas K. O'Leary
Senior System Admin
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Desktop Database
Date: 18 Aug 2000 17:17:11 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 18 Aug 2000 12:21:45 +0100, Stephen J. Thompson wrote:
>Does MySQL contain a screen designer, report designer etc?
MySQL is a database[*]. It's a backend. It includes an SQL
interpreter and some functions that allow external programs to access
the database. In keeping with the Unix philosophy, it does one thing,
and tries to do that one thing well--it's not a monolithic package like
MS Access.
I don't know exactly what you're looking for, but you could take a look
at gmysql and AbriaMySQL Lite. These things allow you to access MySQL
databases in a graphical manner. There's also PHP+Apache, which will
allow you to use HTML forms to query/update a database. The
PHP/Apache/MySQL combo is quite powerful, but it takes a little getting
used to... there's a tutorial at
http://hotwired.lycos.com/webmonkey/99/21/index2a.html
gmysql and AbriaMySQL Lite are linked from http://freshmeat.net/ ; do a
search on those.
[*] OK, some folks say that it's not a proper database since transaction
support is in beta and it doesn't scale well to terabyte-sized data
dumps. Still, you can do a lot of database-y things with it, and it's
fast and small.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Those who do not understand Unix are
http://www.brainbench.com / condemned to reinvent it, poorly.
=============================/ ==Henry Spencer
------------------------------
From: Tony Lawrence <[EMAIL PROTECTED]>
Subject: Re: STTY and ERASE
Date: Fri, 18 Aug 2000 13:19:50 -0400
Floyd Davidson wrote:
> The fact that MS-Windows happens to do it that way does NOT make
> it standard,
Don't you love it? Microsoft wasn't ANYTHING 25 years ago,
but now we get dweebs who ask (whine, more typically) "Why
couldn't they have used a backslash like Microsoft does?"
(assuming they don't think "/" is a backslash, which a lot
of them do!) or "Geez! You'd think they could have named it
'tracert'" and of course my favorite "Why do I have to
login?" Drives me nuts!
--
Tony Lawrence ([EMAIL PROTECTED])
SCO/Linux articles, help, book reviews, tests,
job listings and more : http://www.pcunix.com
------------------------------
From: Doug O'Leary <[EMAIL PROTECTED]>
Subject: nntp: posting not allowed - tin?
Date: Fri, 18 Aug 2000 12:24:11 -0700
Hey;
I've got a curious problem using tin. I'm using randori's news server
and quite a few news clients depending on where I happen to be when I'm
trying to read the newsgroups.
The only one that I have an issue with is tin on my Mandrake 6.0 Linux
box. When I execute tin, I get an immediate message stating that
"Posting's not allowed", then it asks for the authentication.
I zapped off a msg to Randori who responded with "Get the latest version
of tin". I'm using 1.4.2, which was the latest I was able to find.
Anyone got any ideas on what might be causing the problem? I'm kind of
fond of tin - primarily because it's an ascii newsreader and organizes
the threads.
I've tried slrn; however, wasn't able to figure out how to make it do the
authentication that I need for Randori. Maybe that's another avenue I
can take.
Any hints/tips/suggestions greatly appreciated.
Doug
--
===================
Douglas K. O'Leary
Senior System Admin
[EMAIL PROTECTED]
------------------------------
From: =?iso-8859-1?Q?Jos=EDas=20Galv=E1n?= Reyes <[EMAIL PROTECTED]>
Subject: Sound in flash
Date: Fri, 18 Aug 2000 12:33:46 -0500
Reply-To: [EMAIL PROTECTED]
This is a multi-part message in MIME format.
==============D4F7640E00B362674D1FFC98
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello, I have installed Linux Mandrake 7.1.
When I visit flash enabled pages, i have problem with the sound of the
flash objects...
I'm using netscape 4.74.
Can someone help me?
Thanks
Sguindaw
==============D4F7640E00B362674D1FFC98
Content-Type: text/x-vcard; charset=us-ascii;
name="jgalvanr.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Jos�as Galv�n Reyes
Content-Disposition: attachment;
filename="jgalvanr.vcf"
begin:vcard
n:Galv�n Reyes;Jos�as
tel;home:(8)387-5222
x-mozilla-html:FALSE
url:http://fast.to/sguindaw
org:ITESM Campus Monterrey
version:2.1
email;internet:[EMAIL PROTECTED]
title:T�cnico Programador
adr;quoted-printable:;;Calle Cipreses #2320=0D=0ACol. Cerro de la
Silla;Monterrey;Nuevo Le�n;64810;M�xico
note;quoted-printable:ICQ - 33901775=0D=0ACurriculum Vitae -
http://browse.to/sguindaw-cv
x-mozilla-cpt:;0
fn:Jos�asGalv�n Reyes
end:vcard
==============D4F7640E00B362674D1FFC98==
------------------------------
From: [EMAIL PROTECTED] (Daniel Doreika)
Crossposted-To: comp.os.linux.help
Subject: Help! Urgent problem with gzip
Date: Fri, 18 Aug 2000 17:42:00 GMT
I have done something incredibly stupid, and now I'm trying to fix it,
so far to no avail. I created a large backup file (about 180 MB),
using tar, and gzipped it to create backup.tar.gz I then FTPd it to
an NT system for storage. Well, what was stupid was I accidently
transferred it using ASCII mode instead of binary mode. Now it winds
up I really, really need the contents of the file, but gunzip keeps
barfing on it, no matter what I seem to do. I have looked for 'dos to
unix' converters and 'ascii to binary' converters, and tried many, all
to no avail. Whenever I try to gunzip this file now, I get:
gunzip: backup.tar.gz: invalid compressed data--format violated
Like I said, I have tried several converters, including stripping out
/r/n, and replacing them with /n, but nothing seems to work. Does
anyone have any suggestions on what I can try next? The data
contained in this file is very important, and I really need to get it
back, ASAP. Any help or suggestions is greatly appreciated. Thanks.
------------------------------
From: "Marina" <[EMAIL PROTECTED]>
Subject: Re: BUG IN DYNAMIC LINKER
Date: Fri, 18 Aug 2000 17:54:09 GMT
Thank you for your advice!
We upgraded Redhat 6.1 to 6.2, there is no "BUG in dynamic.."
anymore
"William Burrow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Mon, 14 Aug 2000 16:29:25 GMT,
> Marina <[EMAIL PROTECTED]> wrote:
> >We're getting the following error:
> >
> > BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 57: elf_get_dynamic_info:
> > Assertion `! "bad dynamic tag"' failed!
> >
> > On a RedHat 6.1 Linux system.
> >
> > The system was fine for a long time, but suddenly we're no longer able
to
> > log in, either remotely or from the console (We can boot via linux
> > single, however.)
> >
> >Could someone suggest what files we should try reinstalling
> >or any other means around this problem
>
> This bug seems to arise when the libraries are out of date wrt to the
> executable (or is it the other way around?). If nothing was changed on
> the system, do you think your system was broken into? Perhaps it is
> time to do an upgrade on the system anyway...
>
> --
> William Burrow -- New Brunswick, Canada o
> Copyright 2000 William Burrow ~ /\
> ~ ()>()
------------------------------
From: Ian Mortimer <[EMAIL PROTECTED]>
Subject: burnt iso image
Date: Fri, 18 Aug 2000 19:17:04 +0000
Hi all,
Having a bit of trouble with a SuSE 6.4 iso.
I downloaded the file and burnt it to a (new) CD-RW using Adaptec EasyCD
(using the "Create CD using image" option) on an NT box - the test and
write went fine but I can't seem to mount it.
NT reported that the CD contained 647Mb and the CD Icon had the SuSE
text label but it couldn't read it / open it. My Linux box won't mount
it at all:
root@pent133:/home/ian > mount -r -t iso9660 /dev/hdc /cdrom
mount: No medium found
root@pent133:/home/ian >
Have I just got a bad CD or am I doing something wrong ?
Rgds,
Ian.
------------------------------
From: [EMAIL PROTECTED] (Garry Knight)
Subject: Re: newsgroup reader???
Date: Fri, 18 Aug 2000 18:17:34 +0100
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>I like the PAN look-and-feel, but wish it had a "global search"
>option, allowing to search entire message bodies instead of just
>headers.
And I wish it saved articles I've composed to a file on a disk and had
an outbox that I could use to get to them. That way I could go back and
re-edit articles before sending them. And if it crashed (which it does a
little too often) there would be some chance that my articles were still
in some disk file or other, rather than being lost and gone forever.
>StarOffice has a newsreader, but I've only given it a cursory look,
>and don't know what it's capable of yet.
It's capable of sending articles in quoted-printable character set which
isn't (properly) readable by some news clients. And there's no choice
other than quoted-printable. And SO crawls on my 200 MHz box. And in
version 5.2, if I try and drag messages from one folder to another, SO
closes down. It has some good points, though, and maybe when they split
the program up into modules in some future version, it will be more
usable.
There must be a good news client that runs under X somewhere... :o)
--
Garry Knight
[EMAIL PROTECTED]
------------------------------
From: Kichi Leung <[EMAIL PROTECTED]>
Subject: Re: HELP: Mandrake 7.1 Won't Complete Boot
Date: Sat, 19 Aug 2000 02:07:57 +0800
On Fri, 18 Aug 2000, Roy A. McCoy wrote:
>I've just installed Mandrake 7.1 on my system but it will not complete
>the boot process. The system is setup for dual boot (Windows/Linux)
>with Bootmagic. Linux starts to boot, stops and ask me to enter the
I just installed mandrake 7.1, and it boots very smoothly with lilo. Maybe you
could try uninstalling bootmagic and replace it with lilo. Of course, you could
only get to install lilo when you reinstall mandrake again....
Good luck with mandrake. :-)
--
Kichi Leung
[EMAIL PROTECTED]
------------------------------
From: mst <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Help! Urgent problem with gzip
Date: Fri, 18 Aug 2000 14:34:11 -0400
Daniel Doreika wrote:
>
> I have done something incredibly stupid, and now I'm trying to fix it,
> so far to no avail. I created a large backup file (about 180 MB),
> using tar, and gzipped it to create backup.tar.gz I then FTPd it to
> an NT system for storage. Well, what was stupid was I accidently
> transferred it using ASCII mode instead of binary mode. Now it winds
> up I really, really need the contents of the file, but gunzip keeps
> barfing on it, no matter what I seem to do. I have looked for 'dos to
> unix' converters and 'ascii to binary' converters, and tried many, all
> to no avail. Whenever I try to gunzip this file now, I get:
>
> gunzip: backup.tar.gz: invalid compressed data--format violated
>
> Like I said, I have tried several converters, including stripping out
> /r/n, and replacing them with /n, but nothing seems to work. Does
> anyone have any suggestions on what I can try next? The data
> contained in this file is very important, and I really need to get it
> back, ASAP. Any help or suggestions is greatly appreciated. Thanks.
Sorry, but I don't think there's anything you can do. When you
transferred the file as ASCII instead of binary, you lost 1 bit from
every single byte in the file, therefore you cannot convert it back.
MST
------------------------------
From: Charles Sullivan <[EMAIL PROTECTED]>
Crossposted-To: alt.linux
Subject: Timestamp problem with VFAT files.
Date: Fri, 18 Aug 2000 18:29:43 GMT
I want to give specific users full read/write access to a VFAT
partition while denying access to all others. I tried assigning
these users to the group which can access the VFAT. They in
fact get read/write permission but cannot preserve the file timestamp
when copying a file from Linux to the VFAT partition.
Is there any way around this?
Here's the directory entry for the VFAT partition:
brw-rw---- 1 root disk 3, 2 May 5 1998 /dev/hda1
Here's the entry I made in /etc/fstab
/dev/hda6 /dosc vfat auto,users,umask=007,uid=0,gid=6 0 0
(Where uid=0 is owner 'root' and gid=6 is group 'disk')
User 'harry' is added to group 'disk' in file /etc/group
disk:x:6:root,harry
Now user 'harry' can read and write to the VFAT partition,
however if 'harry' attempts to preserve the file timestamp when
copying a file from Linux to the VFAT partition, it doesn't work.
E.g.,
[bash harry]$ cp -p test.txt /dosc
cp: preserving times for /dosc/test.txt: Operation not permitted
and a directory listing for /dosc/test.txt shows that the file
has been copied but the timestamp has not been preserved.
The problem does not exist when the VFAT file is mounted
with the user as owner, e.g., with the /etc/fstab entry
/dev/hda6 /dosc vfat auto,users,umask=007 0 0
but then all users have read/write access.
I am using RedHat 6.2. The same problem exists with the
distribution kernel (2.2.14-5.0) and with kernel 2.4.0-test5.
Regards,
Charles Sullivan
------------------------------
From: [EMAIL PROTECTED] (Frank da Cruz)
Subject: Re: STTY and ERASE
Date: 18 Aug 2000 18:47:38 GMT
In article <[EMAIL PROTECTED]>,
Johan Kullstam <[EMAIL PROTECTED]> wrote:
: > Then emacs is broken. ^H is in the ascii character set as backspace.
: > If a piece of software cannot even adhere to the most basic standards
: > then it should fixed.
:
: ironically, that was my first tack. the vt100 sends ^? <del> as
: opposed to ^H <bs> when you press that wide key somewhat above return.
:
This has been confusing people for 20 years (along with CR/LF/CRLF and
slash vs backslash). See the discussion here:
http://www.columbia.edu/kermit/backspace.html
- Frank
------------------------------
From: Arlan Lucas de Souza <[EMAIL PROTECTED]>
Subject: Re: How do you determine the job number from lpr?
Date: Fri, 18 Aug 2000 15:29:12 -0400
On Fri, 18 Aug 2000 [EMAIL PROTECTED] wrote:
> I need to know the job number that was assigned when lpr spools the
> print job. I can't seem to find a way to get the job number with
> certainty.
[...]
Try lpq -P<printername>
------------------------------
From: Charles Sullivan <[EMAIL PROTECTED]>
Crossposted-To: alt.linux
Subject: Timestamp problem with VFAT files.
Date: Fri, 18 Aug 2000 18:52:09 GMT
*** corrected ***
I want to give specific users full read/write access to a VFAT
partition while denying access to all others. I tried assigning
these users to the group which can access the VFAT. They in
fact get read/write permission but cannot preserve the file timestamp
when copying a file from Linux to the VFAT partition.
Is there any way around this?
Here's the directory entry for the VFAT partition:
brw-rw---- 1 root disk 3, 2 May 5 1998 /dev/hda1
Here's the entry I made in /etc/fstab
/dev/hda1 /dosc vfat auto,users,umask=007,uid=0,gid=6 0 0
(Where uid=0 is owner 'root' and gid=6 is group 'disk')
User 'harry' is added to group 'disk' in file /etc/group
disk:x:6:root,harry
Now user 'harry' can read and write to the VFAT partition,
however if 'harry' attempts to preserve the file timestamp when
copying a file from Linux to the VFAT partition, it doesn't work.
E.g.,
[bash harry]$ cp -p test.txt /dosc
cp: preserving times for /dosc/test.txt: Operation not permitted
and a directory listing for /dosc/test.txt shows that the file
has been copied but the timestamp has not been preserved.
The problem does not exist when the VFAT file is mounted
with the user as owner, e.g., with the /etc/fstab entry
/dev/hda1 /dosc vfat auto,users,umask=007 0 0
but then all users have read/write access.
I am using RedHat 6.2. The same problem exists with the
distribution kernel (2.2.14-5.0) and with kernel 2.4.0-test5.
Regards,
Charles Sullivan
------------------------------
From: [EMAIL PROTECTED] (john slimick)
Subject: regex example
Date: 18 Aug 2000 18:58:14 GMT
Reply-To: [EMAIL PROTECTED]
I'm trying to include the use of
regex into some course material
and the man page is very terse.
Could someone provide an example
of the regcomp input string
that matches the usual style
phone number of
(xxx)xxx-xxxx
where I can capture the
the starting and ending indices
of the three
numeric fields.
I am baffled at the use of
parentheses here -- if \( \)
delimits a sub-expression
then how do I quote the parens
around the area code?
I've searched unsuccessfully for
the GNU regex manual (ref. by the man page)
and I am confused by the difference
between GNU and POSIX (which is
what I have available in RH 6.0?).
Many thanks in advance.
john slimick
[EMAIL PROTECTED]
------------------------------
From: Tony Lawrence <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Help! Urgent problem with gzip
Date: Fri, 18 Aug 2000 15:09:53 -0400
mst wrote:
>
> Daniel Doreika wrote:
> > Like I said, I have tried several converters, including stripping out
> > /r/n, and replacing them with /n, but nothing seems to work. Does
> > anyone have any suggestions on what I can try next? The data
> > contained in this file is very important, and I really need to get it
> > back, ASAP. Any help or suggestions is greatly appreciated. Thanks.
>
> Sorry, but I don't think there's anything you can do. When you
> transferred the file as ASCII instead of binary, you lost 1 bit from
> every single byte in the file, therefore you cannot convert it back.
All he needs is a couple of million computers that can try
each possible bit pattern in turn until the file unzips.
Conceptually like the SETI project. Seriously: if it was
important enough, it could be done. Do you think the CIA
would let a little thing like that stop them if they needed
the data?
--
Tony Lawrence ([EMAIL PROTECTED])
Linux articles, help, book reviews, tests,
job listings and more : http://www.pcunix.com/Linux
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************