VirtualBox

Ignore:
Timestamp:
Jan 25, 2016 9:40:06 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105204
Message:

ticketref:15069: Minor issue with file permissions - fail SCAP security validation: change the permissions with which Linux kernel module files (host and guest) are installed under /lib/modules from 0664 to 0644. I note in passing that the host module make files have not yet been changed to use the generic make file template code, so four changes are needed for the host modules versus one for the guest ones.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r58872 r59453  
    300300install: $(MODULE)
    301301        @mkdir -p $(MODULE_DIR); \
    302         install -m 0664 -o root -g root $(MODULE).$(MODULE_EXT) $(MODULE_DIR); \
     302        install -m 0644 -o root -g root $(MODULE).$(MODULE_EXT) $(MODULE_DIR); \
    303303        PATH="$(PATH):/bin:/sbin" depmod -a; \
    304304        rm -f /etc/vbox/module_not_compiled
     
    306306install_rpm: $(MODULE)
    307307        @mkdir -p $(MODULE_DIR); \
    308         install -m 0664 $(MODULE).$(MODULE_EXT) $(MODULE_DIR)
     308        install -m 0644 $(MODULE).$(MODULE_EXT) $(MODULE_DIR)
    309309
    310310else # eq ($(MAKECMDGOALS),clean)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette