KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
If I have this line in the %files: %attr(0555, myuser, myuser) /opt/myapp/lib/my.jar Then my.jar will have myuser as owner, but directory /opt/myapp/lib will be owner by root. I don't want to write %attr(0555, myuser, myuser) /opt/myapp/lib/ as I don't want all files in /opt/myapp/lib/ to be included. How can I set owner for /opt/myapp/lib/ directory? Thanks.
Tags (comma-separated)
Save Edits
Cancel