Hi all,
Running: Digital Unix V4.0
If I log in as a normal user and run the 'Network'
configuration GUI program I have the following problem.
First I have to supply the root password. This is OK.
As an Example:
If I choose to Modify the 'Host File' and I put in a
hosts entry. The hosts file gets saved OK but with
the wrong file permissions.
Before:
-rw-rw-r-- 1 root system 3592 Apr 4 16:06 hosts
After:
-rw------- 1 root system 3593 Apr 4 16:30 hosts
Then normal users have no permision to look at this file, consequently
'telnet', 'ftp' etc do not work as they can not read the hosts file.
The GUI setup programs do not use root's 'umask' setting of 022. Instead
it uses my one which is the default system. That is when I create a file
the permissions are '-rw-------'.
If I set the umask value to be the same as root's one the hosts file is
saved with '-rw-rw-r--'.
Is this a problem of using the GUI setup screens where I am first logged
in as a normal user and have to supply root password to use it ????
Is it also linked to the 'dop' program mentioned previously in this list ??
The '.new..hosts' file in the /etc direcory has permissions '-rwxr-xr-x'.
Should this be the correct permission setting. ??
I have used these gui's to setup BIND PRINTERS etc, the same thing happened
with the BIND setup files 'svc.conf' and 'svcorder'.
Setting the umask value is not the fix, Is there are fix around for this
problem ??
Thanks
Joe Spanicek
joe_at_resptk.bhp.com.au
Received on Fri Apr 04 1997 - 09:23:41 NZST