/usr/local/bin/p: line 79: /appl/fp/runmenu: Permission denied
Nancy Palmquist
nancy.palmquist at vss3.com
Mon Mar 22 08:24:21 PDT 2021
The error mentions that runmenu has permission denied. So let's talk
about that.
/appl/fp/runmenu can be set to 0755 or 4755. My my recollection, it is
0755 and owned by filepro which has the affect that all the user menus
are handled using the permissions assigned to each menu. So if you
restrict a menu to be owned by Mary and set the permissions to that menu
to 0700 so only Mary can run it, that will happen.
I always found that too confusion so I usually change runmenu settings
to 4755 and owner filepro. In this situation, when runmenu is executed
the user running things is filepro - no matter if Mary is running or
George or whatever user. Now with filepro as the user, you can set any
permissions affected by your process to be allowed by filepro. Things
like IMPORTS and EXPORTS and where they go can be handled easily if
filepro is allowed access.
I am sure this could be much more technical but this is my basic
understanding.
setperms will only affect the permissions below /appl so if you are
still not able to run things check the folders above your /appl folder
to make sure you have allowed execution for filepro or in the case you
have the permissions for runmenu set to 0755 to your users.
Nancy
On 3/19/2021 10:28 PM, Tony Freehauf via Filepro-list wrote:
> thanks for the help - oldtony
>
> i do not know what to do with sticy bit ?
>
> below are the current file permissions:
>
> ls -l /usr/local/bin/p
> lrwxrwxrwx 1 root root 10 Mar 19 21:23 /usr/local/bin/p -> /appl/fp/p
> ls -l /appl/fp/p
> -rwxr-xr-x 1 filepro filepro 1460 Mar 19 19:50 /appl/fp/p
> ls -l /appl
> total 140
> drwxrwxrwx 7 filepro filepro 4096 Jan 31 2019 addison
> drwxrwxrwx 2 filepro filepro 4096 Jan 31 2019 agf_tmp
> drwxrwxrwx 3 filepro filepro 4096 Jan 31 2019 alsip
> drwxrwxrwx 2 filepro filepro 4096 Jan 31 2019 AlsipMenu
> -rwxrwxrwx 1 filepro filepro 8 Oct 15 2019 ASCII_ENCODED
> drwxrwxrwx 3 filepro filepro 4096 Jan 31 2019 cbs
> drwxrwxrwx 2 filepro filepro 4096 Jan 31 2019 CBSMenu
> drwxrwxrwx 3 filepro filepro 4096 Jan 31 2019 cbsx
> drwxrwxrwx 3 filepro filepro 4096 Jan 31 2019 chateau
> drwxrwxrwx 4 filepro filepro 4096 Jan 31 2019 cut
> drwxrwxrwx 4 filepro filepro 4096 Jan 31 2019 cutnewold
> drwxrwxrwx 2 filepro filepro 4096 Jan 31 2019 download
> -rwxrwxrwx 1 filepro filepro 49 Oct 15 2019 ENCODED
> drwxrwxrwx 18 filepro filepro 4096 Nov 13 16:55 filepro
> lrwxrwxrwx 1 filepro filepro 18 Mar 19 19:59 fp -> /appl/fp_v5.0.14D4
> drwxrwxrwx 2 filepro filepro 4096 Feb 26 2019 fpmerge
> drwxrwxrwx 3 filepro filepro 4096 Jan 31 2019 fpORG
> drwxr-xr-x 8 filepro filepro 4096 Mar 19 20:57 fp_v5.0.14D4
> drwxrwxrwx 7 filepro filepro 4096 Feb 26 2019 fp_v5.0.14D4#
> drwxrwxrwx 8 filepro filepro 4096 Jan 31 2019 haley
> drwxrwxrwx 8 filepro filepro 4096 Jan 31 2019 haleyY
> -rwxrwxrwx 1 filepro filepro 5083 Oct 15 2019 index.doc
> drwxrwxrwx 4 filepro filepro 4096 Aug 17 2019 ppm
> drwxrwxrwx 4 filepro filepro 4096 Aug 12 2019 ppmcpy
> -rwxrwxrwx 1 filepro filepro 1236 Oct 15 2019 rbldindex
> -rwxrwxrwx 1 filepro filepro 5083 Oct 15 2019 report1
> -rwxrwxrwx 1 filepro filepro 511 Oct 15 2019 report2
> drwxrwxrwx 4 filepro filepro 4096 Jan 31 2019 Sarah
> drwxrwxrwx 2 filepro filepro 4096 Mar 8 15:46 tmp
> drwxrwxrwx 3 filepro filepro 4096 Jan 31 2019 union
> drwxrwxrwx 6 filepro filepro 4096 Feb 7 14:13 wolf
> drwxrwxrwx 3 filepro filepro 4096 Dec 30 2019 wolf2
> drwxrwxrwx 4 filepro filepro 4096 Feb 26 2019 ynot
> -rwxrwxrwx 1 filepro filepro 52 Jan 31 2019 ynot_docs
>
>
> On 3/19/21 9:12 PM, Ken Cole wrote:
>> then the perms issue must be at a higher level like at /appl
>>
>> What are the perms on runmenu and p and /appl ?
>>
>> Is the sticky bit set ?
>>
>> On Linux setting the sticky bit is different to say Sco Unix in case
>> you didn't know that.
>>
>>
>>
>> On Sat, 20 Mar 2021 at 13:03, Tony Freehauf <tony at ynotsoftware.com
>> <mailto:tony at ynotsoftware.com>> wrote:
>>
>> thanks for the reply - i tried /appl/fp/scripts/setperms multiple
>> times. It runs but does not fix the issue -thanks - oldtony
>>
>> On 3/19/21 8:40 PM, Ken Cole wrote:
>>> Run setperms
>>>
>>> On Sat, 20 Mar 2021 at 12:31, Tony Freehauf via Filepro-list
>>> <filepro-list at lists.celestial.com
>>> <mailto:filepro-list at lists.celestial.com>> wrote:
>>>
>>> Hi experts - i have been trying filepro on different version
>>> of Linux
>>> and must of made a BIG mistake on my main server. now i get the
>>> following error when i type in p and press ENTER.
>>>
>>> ==>> /usr/local/bin/p: line 79: /appl/fp/runmenu: Permission
>>> denied
>>>
>>> and line 79 in /usr/local/bin/p is ==>> exec $PFPROG/fp/runmenu
>>> ${ProMenu} $args
>>>
>>> what can i do?
>>>
>>> thanks for any help
>>>
>>> oldtony
>>>
>>> -- tony at ynotsoftware.com <mailto:tony at ynotsoftware.com>
>>> Tony Freehauf (Old Tony)
>>> YNOT Software & PC Support
>>> 815.467.2179
>>> YNOT sounds like "Why Not."
>>> YNOT let us help you.
>>>
>>> _______________________________________________
>>> Filepro-list mailing list
>>> Filepro-list at lists.celestial.com
>>> <mailto:Filepro-list at lists.celestial.com>
>>> Subscribe/Unsubscribe/Subscription Changes
>>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>> <http://mailman.celestial.com/mailman/listinfo/filepro-list>
>>>
>> -- tony at ynotsoftware.com <mailto:tony at ynotsoftware.com>
>> Tony Freehauf (Old Tony)
>> YNOT Software & PC Support
>> 815.467.2179
>> YNOT sounds like "Why Not."
>> YNOT let us help you.
>>
--
Nancy Palmquist MOS & filePro Training Available
Virtual Software Systems Web Based Training and Consulting
PHONE: (412) 835-9417 Web site: http://www.vss3.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20210322/9836078f/attachment.html>
More information about the Filepro-list
mailing list