Re: InstallP permissions problem On Aug 20, 8:43 am, Karthik <karthik3...@gmail.com> wrote:
> Hi
>
> I have a simple test.bff which puts a file dummy inside /opt/some_dir/
> dummy. I run this command using
> installp -d . test.cmp. The files gets copied appropriately but the
> directory permissions of /opt becomes drwxr-x--- whereas it has to be
> drwxr-xr-x ( the permissions that was before installp was run ). Any
> ideas ?
>
> -Karthik
I had a similar issue as well and was able to fix it.
In my package build environment I have a directory source tree, which
starts with root/opt/..... My installation package sets the
permissions based on the permissions set in that source tree. In my
environment, the opt directory was set differently than on the system,
and during the install process, my installation package was changing
the system opt to the security setting from my source tree. Once I
changed mine to match the system and rebuilt the install package, the
problem went away.
Cheers,
BBM |