Permission problem
Marcos Aurelio Rodrigues
deigratia33 at gmail.com
Thu Aug 7 12:27:13 UTC 2008
Try to put the permissions on the %files
some like:
%files
%attr(0755,root,root) ipaccess-base.plugin
or
%files
%defattr(0755,root,root)
[]s,
Marcos
%files
%att4(0755,root,root) ipaccess-base.plugin
On Thu, Aug 7, 2008 at 9:07 AM, Rav <rav1709 at yahoo.com> wrote:
> Hi Madan,
>
> In both the machines, the umask is
> 0022
>
> Rav
>
> --- On Thu, 8/7/08, Madan Thapa <madan.feedback at gmail.com> wrote:
>
> From: Madan Thapa <madan.feedback at gmail.com>
> Subject: Re: Permission problem
> To: rav1709 at yahoo.com, "General Red Hat Linux discussion list" <
> redhat-list at redhat.com>
> Date: Thursday, August 7, 2008, 5:06 PM
>
>
>
>
>
>
> On Thu, Aug 7, 2008 at 3:53 PM, Rav <rav1709 at yahoo.com> wrote:
>
> Hi,
>
> When I am builiding a rpm and installing the rpm in a linux machine, the
> files that are part of this rpm is having permission as follows.
>
> [root at devbsc2 backup.plugins]# ls -l
> total 4
> -r--r----- 1 root root 541 Jul 28 11:56 bsc-hardening.plugin
> -r--r----- 1 root root 677 Aug 7 2008 ipaccess-base.plugin
> -r--r----- 1 root root 261 Aug 7 2008 ipaccess-common.plugin
>
> But if I build the same rpm in a different machine, then the permissions
> vary as follow.
>
> -r--r--r-- 1 root root 541 Jul 28 11:56 bsc-hardening.plugin
> -r--r--r-- 1 root root 677 Aug 7 2008 ipaccess-base.plugin
> -r--r--r-- 1 root root 261 Aug 7 2008 ipaccess-common.plugin
>
> Could someone explain why the problem in the first machine. Any way to fix
> this. Your reply will be appreciated.
>
> ======================
>
>
>
>
> What does the following show on both machines.
>
> root at server1 [~]# umask
> 0022
> root at server1 [~]#
>
>
>
>
>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subjectunsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
--
========================================
Marcos Aurelio Rodrigues
<deigratia33 at gmail.com>
CCNA, MCSO, Security+
Mirabilia laudo semprer, Dei
========================================
More information about the redhat-list
mailing list