chmod on subdirectories and files

George Machitidze giomac at gmail.com
Thu Aug 20 11:45:13 UTC 2009


Hi Valery,
Thanks for suggestion...

So, this is only solution for now, in install section yes?

Actually I didn't find any other way/workaround...

On Tue, Aug 18, 2009 at 6:22 PM, Valery Reznic <valery_reznic at yahoo.com>wrote:

>
>
> --- On Tue, 8/18/09, George Machitidze <giomac at gmail.com> wrote:
>
> > From: George Machitidze <giomac at gmail.com>
> > Subject: chmod on subdirectories and files
> > To: rpm-list at lists.rpm.org
> > Date: Tuesday, August 18, 2009, 5:10 PM
> > Hello,
> > How can I specify special permissions for entire
> > subdirectories and files, for example:
> > 754 /755 /foo643
> > /foo/1.txt755 /foo/2/643
> > /foo/3/2.asd
> >
> > (same for all subdirectories, and same for all
> > files in them)
> > I've got too many files to include all of
> > them manually...
> > Also, how is possible to exclude specific file
> > like this:
> >
> >
> > 755 /755 /foo755
> > /foo/bar/1.txt755 /foo/bar2/3.asd644
> > /foo/bar/2.asd755 /foo/bar3/1.asd
> > Thank you in advance
> I set correct permissions for the files/directories when I do
> 'make install'
> Then, in the spec file I always can specify permissions as '-'
>
> Regards,
> Valery
>
> >
> > --
> > BR,
> > George Machitidze
> >
> >
> >
> >
> > -----Inline Attachment Follows-----
> >
> > _______________________________________________
> > Rpm-list mailing list
> > Rpm-list at lists.rpm.org
> > http://lists.rpm.org/mailman/listinfo/rpm-list
> >
>
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>



-- 
BR,
George Machitidze
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20090820/67b8e79f/attachment.htm>


More information about the Rpm-list mailing list