> Jürgen Keil schrieb:
> >> I've just realized that /etc/name_to_major has
> mode 0600 on my
> >> installation.
> > 
> > And what version of opensolaris did you install?
> > 
> > On OpenSolaris 2009.06 build 111a I have mode
> 0644...
> 
> Initially, I installed OperSolaris 2008.11. After
> that I did a couple of
> pkg image-update. But now I see the following:
> 
> > pkg verify SUNWcsd
> pkg: Unable to set locale 'de_DE.iso8859-15'; locale
> package may be
> broken or
> not installed.  Reverting to C locale.
> PACKAGE
>                                             STATUS
>          ERROR
> ile: etc/driver_classes
>                 Mode: 0600 should be 0644
> c/devlink.tab                     ..... \\
>                 Group: 'other' should be 'sys'
> c/minor_perm
>                 Mode: 0600 should be 0644
> c/security/extra_privs
>                 Mode: 0600 should be 0644
> c/driver_aliases
>                 Mode: 0600 should be 0644
> c/name_to_major
>                 Mode: 0600 should be 0644
> ust be an artifact of me editing the files with
> pfexec, as
> my users umask is 77. OK - lesson learned. I should
> revert to 'su -' to
> edit config files. Right?

su may reset your umask, and pfexec may perhaps not.

However, another factor is perhaps the editor you're using.

Some editors (traditional vi typicallly, vim too, I think) write back into the
original file; others (like the old Rand editor) rename or delete the original 
file and write to a new file of the same name as the original.  The latter type
_will_ break hard links, and _may_ mishandle soft links, or fail to maintain
ownership and permission.
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to