perms on file linux redhat 9 filepro 5.0

Bob Stockler bob at trebor.iglou.com
Tue Jun 8 10:37:45 PDT 2004


On Tue, Jun 08, 2004 at 01:17:47PM -0400, Brian K. White wrote:
| Bob Stockler wrote:
| > On Tue, Jun 08, 2004 at 09:56:58AM -0400, Mark Luljak wrote:
| >> Simon--er, no...it was Rick Henderson--said:
| >>> open is creating a file with 600 owned by filepro.  I need this
| >>> file to be readable by everyone.
| >>>
| >>> pfumask seems not to apply and using the system "chmod
| >>> 644"<_filename does not work either.
| >>
| >> Because the version of bash you have executes system commands as the
| >> UID, not EUID.  You can't change perms on what you don't own.
| >>
| >> Look into sudo, or replace bash with ksh like Brian likes to advise.
| >> I would go for sudo, myself..
| >
| > I tried replacing bash with the "real" KornShell on my Red Hat
| > Linux (7.2 or 7.3, I forget) and it broke a lot of the startup
| > scripts, so I stayed with bash and employed sudo.
| 
| I _never_ said replace bash with ksh. Especialy not in-place.
| I advise simply to _use_ ksh.
| IE: install it, as something/bin/ksh, and put #!something/bin/ksh on top of
| any scripts you write or re-write to be ksh compatible.

That's good advice, but in the context of using filePro's
SYSTEM command not of much help, because it uses /bin/sh.

Bob

-- 
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).


More information about the Filepro-list mailing list