chmod on subdirectories and files
Valery Reznic
valery_reznic at yahoo.com
Tue Aug 18 14:22:02 UTC 2009
--- 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
>
More information about the Rpm-list
mailing list