ensure that file objects in /usr/ are user-writable

This commit is contained in:
Дмитрий Левин 2003-11-26 12:43:15 +00:00
parent 82e7618919
commit 5b1319a47e
2 changed files with 4 additions and 2 deletions

View File

@ -482,7 +482,9 @@ fi
- Fixed Makefiles to correct librpm*-4.0.4.so dependencies.
- Do not package .la files.
- brp-cleanup: remove lib*.la files from /lib, /usr/lib, and /usr/X11R6/lib.
- brp-fix-perms, fixup-libraries: strip executable bit from non-executable libraries.
- brp-fix-perms, fixup-libraries:
+ strip executable bit from non-executable libraries;
+ ensure that file objects in /usr/ are user-writable.
- rpmbuild --rebuild/--recompile: implemented support for new macros:
%%_rpmbuild_clean and %%_rpmbuild_packagesource.
- Updated README.ALT-ru_RU.KOI8-R.

View File

@ -33,7 +33,7 @@ done
# Following objects should not be group/world writable.
for d in usr/*; do
[ "$d" = "usr/src" -o -L "$d" -o ! -d "$d" ] ||
chmod -R go-w "$d"
chmod -R u+w,go-w "$d"
done
# Following files should not be group/world readable.