• sbbsecho v3.29

    From Bill McGarrity@VERT/TEQUILAM to Digital Man on Mon Feb 27 02:33:02 2017
    Hiya Rob...

    As far as permissions go, I start with it looking like this:

    pi@raspberrypi:~/sbbs/data ls -l

    -rwxrwxrwx 1 pi pi 21783 Feb 27 01:51 areas.bbs (areas.bbs a bright yellow)

    I send the %-ALL and it remains the same as above.

    After I send the %+ALL I get this..

    -rw-r--r-- 1 root root 20050 Feb 27 0210 areas.bbs (areas.bbs white letters)

    Could sbbsecho be changing the permissions just from the %+ALL command?

    Thanks again,,,,


    --

    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!!

    ---
    þ Synchronet þ TequilaMockingbird Online - Toms River, NJ
  • From Digital Man@VERT to Bill McGarrity on Mon Feb 27 00:12:46 2017
    Re: sbbsecho v3.29
    By: Bill McGarrity to Digital Man on Mon Feb 27 2017 02:33 am

    Hiya Rob...

    As far as permissions go, I start with it looking like this:

    pi@raspberrypi:~/sbbs/data ls -l

    -rwxrwxrwx 1 pi pi 21783 Feb 27 01:51 areas.bbs (areas.bbs a bright yellow)

    You certainly shouldn't have execute (x) permissions on the file. And given the 'world' permission to write and execute this file is potentially dangerous.

    I send the %-ALL and it remains the same as above.

    After I send the %+ALL I get this..

    -rw-r--r-- 1 root root 20050 Feb 27 0210 areas.bbs (areas.bbs white letters)

    Could sbbsecho be changing the permissions just from the %+ALL command?

    If you run sbbsecho as root (e.g. or using 'sudo'), yes.

    digital man

    Synchronet "Real Fact" #54:
    The Synchronet source code consists of over 500,000 lines of C and C++.
    Norco, CA WX: 47.2øF, 87.0% humidity, 1 mph WSW wind, 0.11 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Bill McGarrity@VERT/TEQUILAM to Digital Man on Mon Feb 27 11:33:00 2017
    Digital Man wrote to Bill McGarrity on 02-27-17 00:12 <=-

    Re: sbbsecho v3.29
    By: Bill McGarrity to Digital Man on Mon Feb 27 2017 02:33 am

    Hiya Rob...

    As far as permissions go, I start with it looking like this:

    pi@raspberrypi:~/sbbs/data ls -l

    -rwxrwxrwx 1 pi pi 21783 Feb 27 01:51 areas.bbs (areas.bbs a bright yellow)

    You certainly shouldn't have execute (x) permissions on the file. And given the 'world' permission to write and execute this file is
    potentially dangerous.

    I've changed that so all the x's are gone...


    I send the %-ALL and it remains the same as above.

    After I send the %+ALL I get this..

    -rw-r--r-- 1 root root 20050 Feb 27 0210 areas.bbs (areas.bbs white letters)

    Could sbbsecho be changing the permissions just from the %+ALL command?

    If you run sbbsecho as root (e.g. or using 'sudo'), yes.

    As you can see from my previous message I'm running sbbsecho under pi and not using sudo.

    pi@raspberrypi~:/sbbs/exec $ ls -l

    lrwxrwxrwx 1 pi pi 61 Feb 25 03:35 sbbsecho -> /home/pi/sbbs/src/sbbs3/scfg/gcc.linux.armv71.exe.release/scfg

    (The above is all on one line.)

    It doesn't show root at all...

    ???


    --

    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
    þ Synchronet þ TequilaMockingbird Online - Toms River, NJ
  • From Digital Man@VERT to Bill McGarrity on Mon Feb 27 15:38:09 2017
    Re: sbbsecho v3.29
    By: Bill McGarrity to Digital Man on Mon Feb 27 2017 11:33 am

    Digital Man wrote to Bill McGarrity on 02-27-17 00:12 <=-

    Re: sbbsecho v3.29
    By: Bill McGarrity to Digital Man on Mon Feb 27 2017 02:33 am

    Hiya Rob...

    As far as permissions go, I start with it looking like this:

    pi@raspberrypi:~/sbbs/data ls -l

    -rwxrwxrwx 1 pi pi 21783 Feb 27 01:51 areas.bbs (areas.bbs a bright yellow)

    You certainly shouldn't have execute (x) permissions on the file. And given the 'world' permission to write and execute this file is potentially dangerous.

    I've changed that so all the x's are gone...


    I send the %-ALL and it remains the same as above.

    After I send the %+ALL I get this..

    -rw-r--r-- 1 root root 20050 Feb 27 0210 areas.bbs (areas.bbs white letters)

    Could sbbsecho be changing the permissions just from the %+ALL command?

    If you run sbbsecho as root (e.g. or using 'sudo'), yes.

    As you can see from my previous message I'm running sbbsecho under pi and not using sudo.

    pi@raspberrypi~:/sbbs/exec $ ls -l

    lrwxrwxrwx 1 pi pi 61 Feb 25 03:35 sbbsecho -> /home/pi/sbbs/src/sbbs3/scfg/gcc.linux.armv71.exe.release/scfg

    (The above is all on one line.)

    It doesn't show root at all...

    ???

    That doesn't matter. Run 'whoami' and it'll tell you who you are logged-in as. 'root' can open and run files owned by anyone, so who owns the file does not matter. The fact that the areas.bbs is becoming owned by root implies you are running SBBSecho as root.

    digital man

    Synchronet/BBS Terminology Definition #37:
    NUP = New User Password
    Norco, CA WX: 51.0øF, 96.0% humidity, 0 mph SE wind, 0.22 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net