/usr/local/bin/p: line 79: /appl/fp/runmenu: Permission denied

Fairlight fairlite at fairlite.com
Mon Mar 29 11:11:23 PDT 2021


Well that's true of the SUID bit, too.  If you chmod to add SUID before
doing a chown, it will clear the SUID bit the second you chown.  At
least on any sane system in the last 15-20 years, it will.

m->


On Mon, Mar 29, 2021 at 10:33:12AM -0700, Bill Campbell via Filepro-list thus spoke:
> On Mon, Mar 29, 2021, Bruce Easton via Filepro-list wrote:
> >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.
> 
> Also of note, if one is going to change the sticky bit, the owner and group
> must be set first with chown which will reset the sticky bit.
> 
> Bill
> -- 
> INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
> URL: http://www2.celestial.com/ 6641 E. Mercer Way
> Mobile:         (206) 947-5591  PO Box 820
> Fax:            (206) 232-9186  Mercer Island, WA 98040-0820
> 
> The definition of politics is the advance auction of goods that have
> not yet been stolen.
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 

-- 
Audio panton, cogito singularis.


More information about the Filepro-list mailing list