日本語のみで絞り込む

2011/8/5 -The %defattr directive allows setting of default attributes for files and directives. The %defattr has a similar format to the %attr directive:.

The %defattr sets default %attr for RPM. The %defattr directive has the following format: %attr(<file mode>, <user>, <group>, <dir mode>). The user and group ...

2015/8/29 -The %defattr macro looks like: %defattr(<file mode>, <user>, <group>, <dir mode>). So: %defattr(-,root,root,644). Means: keep the file mode of ...

The %defattr directive allows setting of default attributes for files and directives. The %defattr has a similar format to the %attr directive: The default ...

The directive has been reverted to the previous behavior, and a warning about the potential problems with %defattr has been added to the "rpmbuild" command.

Description of problem: I have rebuilt all our source RPMs on EL6 (note the buildhost runs CentOS 6 but with the rpm-4.8.0-16.el6 binaries from RHEL6.1) and ...

2012/3/29 -%defattr is a blanket for which its attributes will be applied across all files listed, while %attr is for specifying attributes only for a ...

2023/1/24 -%defattr(-,root,root,755) means that for regular files, the permission bits are collected from %buildroot, but directories will be set as 755.

2021/3/30 -You can set permissions in the .spec or the .yaml file. Either by switching %defattr : Yaml: Files: - '%defattr(644,root ...

In addition, using the %defattr directive is considered a best practice when creating packages. You can also mark files for a particular language. For example, ...