[MacPorts] #30992: virtualbox: enable hardening

MacPorts noreply at macports.org
Thu Sep 1 11:24:04 PDT 2011


#30992: virtualbox: enable hardening
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  rmstonecipher@…           
     Type:  enhancement              |      Status:  assigned                  
 Priority:  Normal                   |   Milestone:                            
Component:  ports                    |     Version:  2.0.1                     
 Keywords:                           |        Port:  virtualbox                
-------------------------------------+--------------------------------------

Comment(by pixilla@…):

 Replying to [comment:5 rmstonecipher@…]:
 > Chris,[[br]]
 > I have followed your instructions up to the point of 'chmod u+s'.[[br]]
 > Is there a numeric equivalent (eg 755 or 600) for 'u+s'?[[br]]
 Using your example, I believe 4755 or 4600 would do it.[[BR]]
 From man chmod:[[BR]]
  * 4000 (the set-user-ID-on-execution bit) Executable files with this bit
 set will run with effective uid set to the uid of the file owner.
 Directories with the set-user-id bit set will force all files and sub-
 directories created in them to be owned by the directory owner and not by
 the uid of the creating process, if the underlying file system supports
 this feature: see chmod(2) and the suiddir option to mount(8).
  * 2000 (the set-group-ID-on-execution bit) Executable files with this bit
 set will run with effective gid set to the gid of the file owner.

 I am building with these instructions as well. I made separate patches for
 each file and planned on posting them here. I'm still compiling.

-- 
Ticket URL: <https://trac.macports.org/ticket/30992#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list