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?
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 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 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...
???
| Sysop: | Ragnarok |
|---|---|
| Location: | Dock Sud, Bs As, Argentina |
| Users: | 137 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 104:25:08 |
| Calls: | 15,362 |
| Files: | 20,057 |
| D/L today: |
19 files (6,438K bytes) |
| Messages: | 1,798,104 |