/usr/local/bin/p: line 79: /appl/fp/runmenu: Permission denied
Bruce Easton
bruceeaston55 at gmail.com
Mon Mar 29 08:55:44 PDT 2021
I see that Ken Cole and Nancy addressed this. Just one point - the
commands to resolve (i.e., 'chmod 4755' or 'chmod +s') engage the
'setuid' bit, not the 'sticky' bit. Introduced in Unix back in the
70's, both of these have often been confused with one another.
--
Bruce Easton
STN, Inc.
On 3/19/21 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.
>>
More information about the Filepro-list
mailing list