Operating System - HP-UX
1753528 Members
5252 Online
108795 Solutions
New Discussion юеВ

Re: Create a depot with non-root user

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor

Re: Create a depot with non-root user

>A couple of files are script files which have to be run after the package has installed.

Scripts have to be executable, not writable. And if they have to be run after, they should be configure control scripts.

>Is there any other option rather than sending them as writable?

Sending what as writable?

>Could you give me some information about the volatile files

You add -v to file attribute describing the file.
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Create a depot with non-root user

Ooops,

I meant executable.
There are some files which have only read permission to root (r--,---,---) and many variants.

In such a case i will have to give different "-u" for each group of files.
Hence, i choose the "-u 000" option.

Is there any drawback in it?
Vibhor Kumar Agarwal
Dennis Handly
Acclaimed Contributor

Re: Create a depot with non-root user

>There are some files which have only read permission to root (r--,---,---) and many variants.
>In such a case I will have to give different "-u" for each group of files. Hence, I choose the "-u 000" option.

No need to use -u 000, you can use -u 222 to make sure all files are read only. It only removes any "w" permissions.
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Create a depot with non-root user

Gotcha :-)

Thanks
Vibhor Kumar Agarwal