Description of problem: the default option for a cifs mounted share is 777 Version-Release number of selected component (if applicable): kernel-2.6.18-194.17.1.el5.x86_64 samba-client-3.0.33-3.29.el5_5.1.x86_64 How reproducible: Always Steps to Reproduce: 1. mount a cifs share 2. mount point is 777 3. Actual results: wide open mount point Expected results: restricted access (755 was expected) Additional info: one needs to force dir_mode/file_mode to ensure proper restriction
I tend to agree (which is why I drove the changes upstream that changed this default to something more sane). Unfortunately however, we have to consider backward compatibility for CIFS. If we change this default now then we may break existing deployments. I don't think we can reasonably do this in RHEL5 at this point.
Note that the default will be more sane in RHEL6.
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.