perms on file linux redhat 9 filepro 5.0
Bob Stockler
bob at trebor.iglou.com
Tue Jun 8 07:16:18 PDT 2004
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.
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