No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help
View Responses


Grex Info Item 161: How to change my conference list -- PLEASE!?!
Entered by mta on Wed Jul 6 12:33:52 UTC 1994:

This one is probably pretty simple -- now that the change program exists,
I can't type !change list to alter my conference list.  Problem is, when
I try to !es .cflist, I end up starting a new file.  Not what I had in mind.
So, now what?  Where is my conference list?  How do I change it?

Thanks for the help!

25 responses total.



#1 of 25 by robh on Wed Jul 6 12:51:38 1994:

Well, "!change list" will run the change program, which as far as I
know can't edit files.  So that's completely wrong.

If it's telling you the file doesn't exist, then you're probably
in the wrong working directory.  Try running this instead:

        !es /usr/home/mta/.cfdir/.cflist

(Your account was moves to a different partition than the rest
of us, this may be part of the problem.)


#2 of 25 by popcorn on Wed Jul 6 13:03:20 1994:

This response has been erased.



#3 of 25 by popcorn on Wed Jul 6 13:04:01 1994:

This response has been erased.



#4 of 25 by mta on Fri Jul 8 22:28:09 1994:

Aha!  It works!  Thanks!


#5 of 25 by rcurl on Thu Sep 15 15:39:15 1994:

I created a .cflist and put everything with .cf* and .*.cf in it. Now,
an  n  at an Ok: prompt no longer goes to the next .cf in .cflist.
What else do I need to do?


#6 of 25 by rcurl on Thu Sep 15 15:41:45 1994:

ARGGGH! I meant, I created a .cfdir   (where is that script that enters
what I'm thinking rather than what I type?).


#7 of 25 by popcorn on Thu Sep 15 16:03:17 1994:

This response has been erased.



#8 of 25 by rcurl on Thu Sep 15 16:14:21 1994:

No, the problem is stated in #5 (substitute .cfdir for the first .cflist).
I've had a .cflist, and it worked fine, until I moved it and all other
.cf files into .cfdir.


#9 of 25 by davel on Thu Sep 15 16:37:55 1994:

At a guess, the problem is the permissions on your .cfdir.  This is just a
guess!  But you might try (at a shell prompt) chmod +r .cfdir and see if
that fixes it.  The x permission you've given everyone else should let the
.cflist be opened, but doesn't let Picospan check which files are in the
dir, & I'm guessing that it does something like that.


#10 of 25 by rcurl on Thu Sep 15 17:35:57 1994:

Bingo! Permitting .cfdir read all did not itself solve the problem, but it
prompted me to permit .cflist 644, rather than 600, which it had been, and
that did the trick. Apparently .cflist being 600 is OK in a home
directory, but not in a.cfdir subdirectory. Thanks, Dave. 



#11 of 25 by popcorn on Thu Sep 15 20:56:03 1994:

This response has been erased.



#12 of 25 by rcurl on Fri Sep 16 05:43:43 1994:

I have discovered the source of my problem. When I copied all the cf files
in my directory into the subdirectory .cfdir, all the read perms to others
were removed. I did not know that would happen.  What is the general rule
for this, and can the file be copied with original perms? (You say, RTFM?)



#13 of 25 by davel on Fri Sep 16 09:57:18 1994:

Aha.  When you *copy* files, by default your current umask is used.  So
the first piece of advice is: if you're moving files, don't use cp, use mv.
But if copying is what you want, then    cp -p   will preserve the file's
timestamp & permissions.  You may also want to check out the -i option
(on both cp and mv), which prompts you before overwriting.  And, yes, RTFM.


#14 of 25 by rcurl on Fri Sep 16 17:45:58 1994:

Thanks, Dave. I couldn't think of the move command at the moment B^\.


#15 of 25 by rcurl on Tue Nov 15 16:34:07 1994:

I want to bring more order into my .cflist, so it occurred to me to just
use the "help conferences" list, and "comment out" those I don't want to
goto.  Can one "comment out" lines in .cflist?


#16 of 25 by popcorn on Tue Nov 15 18:09:03 1994:

This response has been erased.



#17 of 25 by davel on Wed Nov 16 02:27:40 1994:

I was going to suggest that either # or . or , might *avoid* those errors,
but I didn't (& don't) intend to take the time to test it out.

FWIW, I shuffle those conferences I want to ignore until I have time
to the bottom of my .cflist.  That way, when I hit the first of them, I
just exit.


#18 of 25 by kentn on Wed Nov 16 06:22:43 1994:

I just tried:  :.#;! and ,  The last (,) was ignored by Picospan
and the rest caused a "cannot access" error for the conference.  If
the magic comment character exists for .cflist, it must be something
else.


#19 of 25 by rcurl on Wed Nov 16 06:28:52 1994:

I also tried: ~@^" and >. Nada. 


#20 of 25 by popcorn on Wed Nov 16 14:29:43 1994:

This response has been erased.



#21 of 25 by mdw on Sun Nov 27 04:20:12 1994:

Sorry - PicoSpan doesn't support comments in .cflist files.


#22 of 25 by mneme on Sun Oct 1 08:15:19 1995:

It also seems to be very picky indeed.  I just fixed the longstanding problem
of my .cflist not being read by one of two final changes: I deleted the copy
of my .cflist not in my .cfdir, and changed my group permission to +x on my
.cfdir (somehow, I suspect it was the former twiddle that caused the fix, but 
I'm not about to test it on the "It Aint Broke..." principle), while all other
perms remained the same.
        I do marvel that it is considered necessary to make picospan ("bbs")
both sgid (which is normal) and suid (which is most emphatically NOT).  This 
both creates the problem that Picospan cannot read any files which it's user 
wishes to keep private from the rest of the world, and on the security end of
compromise of /usr/local/bin/bbs gives full control to all files owned by cfadm
A far more sensible approach would be to make /usr/local/bin/bbs sgid, and have
an external program (which was only readable/executable by things in the cfadmg
group) which could be used by Picospan to create directories/files with the 
proper ownership (since all else can be handeled seamlesly with sgid).  This 
would mean that Picospan could read/write files owned by the user, and would be
the user at all times when not creating an item (and only for brief moments
then).


#23 of 25 by popcorn on Sun Oct 1 18:27:27 1995:

This response has been erased.



#24 of 25 by mneme on Mon Oct 2 00:49:33 1995:

I'll take your word that he did, but that doesn't mean that his reasons
resulted in the best solution.
 :)


#25 of 25 by mdw on Sun Dec 3 11:07:26 1995:

Yes, PicoSpan is SUID for a reason.

Response not possible - You must register and login before posting.

No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss