Need help in maintaining permissions in RPM

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

 



I have a tar file that contains certain permissions, ownerships and groups.

My question is how do I specify in the Spec file that I want to maintain the same permissions, ownerships and groups of my tarfile when the RPM is installed.

 

I have the following line in my spec file;

 

%defattr (-,root,root,-)

 

However my tarfile contains files and directories of different permissions for directories/files and ownership/groups.

 

Any help would be appreciated.

Jim

_______________________________________________
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