Hi, I want to set rights on files with the rpm plugin but I only can do that for directories.
Example : I want to set rights 444 to the file /tmp/mine/hi.csv Case 1 : -------- Pom.xml : <directory>/tmp/mine/hi.csv</directory> <filemode>444</filemode> <sources><source> <location>src/mine/hi.csv</location> </source><sources> Spec file : %attr(444,-,-) /tmp/mine/hi.csv Spec file is OK but the created tree is /tmp/mine/hi.csv/hi.csv Case 2 ------ Pom.xml : <directory>/tmp/mine</directory> <filemode>444</filemode> <sources><source> <location>src/mine/hi.csv</location> </source><sources> Spec file : %attr(444,-,-) /tmp/mine Hi.csv has 444 rights but also the directory /tmp/mine. A directory with 444 rights, it's not fun. In this case I was waiting for a spec file like : %attr(444,-,-) /tmp/mine/hi.csv I obtain the same result with the line <location>src/mine</location> Case 3 ------ Pom.xml : <directory>/tmp/mine</directory> <filemode>444</filemode> <sources><source> <location>src/mine/*.csv</location> </source><sources> Spec file : %attr(444,-,-) /tmp/mine The *.csv is not recognize in compilation but a line like "%attr(444,-,-) /tmp/mine/*.csv" is accepeted ine a Spec file ! If somebody can help me ? Vincent. ********************************* This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. Messages are susceptible to alteration. France Telecom Group shall not be liable for the message if altered, changed or falsified. If you are not the intended addressee of this message, please cancel it immediately and inform the sender. ******************************** --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email