• Error 13 when packing a bundle.

    From Bill McGarrity@1:266/404 to Digital Man on Wed Feb 22 14:34:00 2017
    Digital Man wrote to Bill McGarrity on 02-21-17 18:03 <=-

    Re: Error 13 when packing a bundle.
    By: Bill McGarrity to Digital Man on Tue Feb 21 2017 12:44 am


    ***** End

    Psoosible resolution??

    What user created the 00960001.hlo file? What are the permissions on
    the file? Can you paste the output from "ls -l /home/pi/binkd-1.1/sportnet/outbound" here?

    It varied. I'm going through doing chmod's on the ones that seem to be giving me problems. Two nights ago it was 5 .hlo files, last n ight it was two that I tracked down and manually did a chmod on them. I'll hopefully see tonight if there are more.

    Nick was kind enough to give teh same advice as you. I'll get it worked out and thanks so much for the reply.


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    --- MultiMail/Win32 v0.50
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
  • From Bill McGarrity@1:266/404 to Accession on Wed Feb 22 14:39:00 2017
    Accession wrote to Bill McGarrity on 02-21-17 19:30 <=-


    On Tue Feb 21 2017 19:45:36, Bill McGarrity wrote to Accession:

    Then check the permissions on 00960001.hlo specifically. You may
    need to use chown to change the permissions of that file so that
    it will continue. And with

    I ahve, and it's read only. The problem is when the node licks the
    mail up it's gone till the next time it's created.

    So then the problem seems to be when the file is created. Is something else touching that file besides sbbsecho?

    Yes, but last night instead of the 5 or 6 errors I was getting, there was only two so I isolated those and did a chmod as well.

    that said, you mentioned it seems to happen on locally imported
    messages with smbutil. Make sure all of your scripts that use
    smbutil are executed by the user you want these file permissions
    to be, or things will start going haywire.

    OK... I'm running the bash script we discussed a week or so under
    crontab. I would agree with your assesment as rar as root but why does
    it work for some zipped bundles and not others? In the script I use
    chmod 777 to the .txt files created by perl so they have ALL access.

    A crontab created by the specific user, and not root.. correct? Meaning you did

    "crontab -e" as the user you wish to run as (with no sudo).

    Yes, no sudo. it's under Pi

    Also, chmod only makes the file readable/writable/executable. It does
    not set ownership. "chown" sets the user and group. You shouldn't
    really need to chmod anything as sbbsecho creates the proper read/write capabilities. However, you may need to "chown -R <user>.<group> <directory>/*" if something is changing ownership.

    OK.. let me check that tonight to see if there are any further issues.

    Looks like at some point something accessed 00960001.hlo and
    changed the permission. Did you accidentally run smbutil with
    root at one point when testing to see if it would work from the
    command line before setting a script in motion?

    Can't remember... :(

    Again, if that was the case smbutil being run as root, why would it
    not effect the other bundles being made to other nodes?

    I'm not sure, unless something else is touching that specific file
    aside from sbbsecho.

    As I said, let's see what tonight brings then I'll try the chown command.


    I'll do the ls -alh later and see what's going on.

    If you do choose to continue to use chmod (aside from chown), you may
    want to consider using either 666 (-rw-rw-rw-) = readable and writable
    to all, 664 (-rw-rw-r--) = readable and writable for file owner and
    group, and readable to everyone else, or even 660 (-rw-rw----) if you
    want it for that specific user and group only. Your outbound
    directory's contents do not need to be executable

    (which the 7 adds).

    I'll fine tune it once I get this issue resolved. First play on the BIG field then downsize.. LOL!!

    Appreciate your help...


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    --- MultiMail/Win32 v0.50
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
  • From Bill McGarrity@1:266/404 to Accession on Wed Feb 22 20:15:00 2017
    Accession wrote to Bill McGarrity on 02-22-17 16:53 <=-

    Hiya Nick...

    On Wed Feb 22 2017 14:39:00, Bill McGarrity wrote to Accession:

    So then the problem seems to be when the file is created. Is
    something else touching that file besides sbbsecho?

    Yes, but last night instead of the 5 or 6 errors I was getting, there
    was only two so I isolated those and did a chmod as well.

    chmod most likely isn't needed at all, since sbbsecho creates those
    files with workable permissions. It's most likely something being ran (whether it be sbbsecho or smbutil) was accidentally used by root at
    one point, or binkd was accidentally ran as root once or something..
    but chown should probably fix this

    at some point.

    Unfortunately you'll probably have to go through and make sure your
    entire sbbs

    directory is owned by the "pi" user and whatever group it belongs to
    for things

    to work properly. Rather than looking everywhere with "ls -alh" you can simply run "chown -R <user>.<group> /home/<user>/sbbs/*" without
    quotes. If binkd is not under your sbbs heirarchy, you probably want to
    do the same for that directory as well.

    A crontab created by the specific user, and not root.. correct?
    Meaning you did

    "crontab -e" as the user you wish to run as (with no sudo).

    Yes, no sudo. it's under Pi

    I take it "Pi" is your user? Is that what you login with? Or is it "alarmpi" or

    "pi" or .. I'm not sure what your actual user is.

    OK.. let me check that tonight to see if there are any further issues.

    Ok.

    I'll fine tune it once I get this issue resolved. First play on the
    BIG field then downsize.. LOL!!

    Permissions and ownership have always been a pain in the ass. I
    eventually just

    ran everything as root, since it's only a Rpi, and it only contains BBS related

    stuff. If some retard really wants to try to guess my (quite) long root password, they can have at it. :)

    Appreciate your help...

    No problemo. Besides the current development of software I use here,
    this is one of the very few things keeping interest in the hobby these days. :)

    OK... I modified all scripts for now to do a chown as there were still some bundles being created by sbbsecho as root. I will see tonight once the cron runs.

    Isn't this fun!! lol!!

    Thank God I still ahve a full head of hair...


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
    Radio: radio.tequilamockingbirdonline.net:8010/live


    ... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
    --- MultiMail/Win32 v0.50
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
  • From Bill McGarrity@1:266/404 to Kurt Hamm on Wed Feb 22 20:50:16 2017
    Re: Error 13 when packing a bundle.
    By: Kurt Hamm to Accession on Wed Feb 22 2017 20:28:29

    Hiya Kurt...

    I am running Synchronet on Ubuntu and have had trouble with file ownership. I usually have to chown -R ftn:ftn /sbbs at various times.
    when I installed the software, sbbsecho ran as ftn and sbbs ran as
    root. Once I changed sbbs to run as ftn user, everything worked.

    I checked the sbbs/exec folder and did a ls-l and all executables were
    listed pi:pi so I know sbbsecho isn't running as root. I am not running
    sbbs but using sbbsecho standalone. binkd is run as pi and in the group pi.

    I've edited all the bash scripts I use here to do a chown while they are running to make sure everything in the folders are pi:pi. The test is
    tonight.

    Thanks

    .


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: 6697
    Radio: radio.tequilamockingbirdonline.net:8010/live

    ... Look TWICE.... Save a life.... Motorcycles are EVERYWHERE!!
    --- SBBSecho 3.02-Win32
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
  • From Bill McGarrity@1:266/404 to Accession on Thu Feb 23 01:20:52 2017
    Re: Error 13 when packing a bundle.
    By: Accession to Bill McGarrity on Wed Feb 22 2017 16:53:18

    HIya Nick...


    to work properly. Rather than looking everywhere with "ls -alh" you
    can simply run "chown -R <user>.<group> /home/<user>/sbbs/*" without quotes. If binkd is not under your sbbs heirarchy, you probably want
    to do the same for that directory as well.

    Just an FYI....

    The changes I made to the bash scripts adding the chown did the trick. Everything zipped properly in the bundles...

    Thanks so much!!


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: 6697
    Radio: radio.tequilamockingbirdonline.net:8010/live

    ... Look TWICE.... Save a life.... Motorcycles are EVERYWHERE!!
    --- SBBSecho 3.02-Win32
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
  • From Bill McGarrity@1:266/404 to Accession on Thu Feb 23 21:28:41 2017
    Re: Error 13 when packing a bundle.
    By: Accession to Bill McGarrity on Thu Feb 23 2017 19:12:10

    Hiya Nick....


    The changes I made to the bash scripts adding the chown did the trick. Everything zipped properly in the bundles...

    Thanks so much!!

    Right on, brutha! Glad to hear it's working. :)

    Yeah... thanks to your and DM my little 'linux" knowledge box is getting full... it's actually fun now... lol!!


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: 6697
    Radio: radio.tequilamockingbirdonline.net:8010/live

    ... Look TWICE.... Save a life.... Motorcycles are EVERYWHERE!!
    --- SBBSecho 3.02-Win32
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)
  • From Bill McGarrity@1:266/404 to Accession on Fri Feb 24 12:37:32 2017
    Re: Error 13 when packing a bundle.
    By: Accession to Bill McGarrity on Fri Feb 24 2017 09:19:48

    Hiya Nick...

    And soon it will all be second nature. It takes a little getting used
    to, but once you do it becomes just as easy as Windows. Especially
    when you dive in and

    use the CLI, as you're forced to figure things out and learn the
    proper command

    I have an old Solaris handbook I've been "reviewing". Still basic unix with some differences as linux is probably well ahead of that after 20 years.. :)

    line useage, unlike installing a full GUI desktop where most of the
    hard stuff is taken care of for you.

    The Pi has a GUI... looks pretty and on my other one ( connected it to my
    50" in the bedroom, I even installed SyncTerm... and the damn ing is
    running!! lol. Wonders never cease!!

    Now that everything seems to be running fine for now... I'm going to take a weekend off and relax. I'm still waiting for that 'fix' DM said he was
    going to take care of with sbbsecho and the %unlinked command.

    Till then!! be well my friend...


    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net:81
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: 6697
    Radio: radio.tequilamockingbirdonline.net:8010/live

    ... Look TWICE.... Save a life.... Motorcycles are EVERYWHERE!!
    --- SBBSecho 3.02-Win32
    * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)