Re: chmod on subdirectories and files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- On Tue, 8/18/09, George Machitidze <giomac@xxxxxxxxx> wrote:

> From: George Machitidze <giomac@xxxxxxxxx>
> Subject: chmod on subdirectories and files
> To: rpm-list@xxxxxxxxxxxxx
> 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@xxxxxxxxxxxxx
> http://lists.rpm.org/mailman/listinfo/rpm-list
> 


      
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux