rapid7 / ruby_smb

A native Ruby implementation of the SMB Protocol Family
Other
80 stars 80 forks source link

Add desired delete permissions when opening directory #262

Closed dwelch-r7 closed 4 months ago

dwelch-r7 commented 5 months ago

Drafted while we debug some issues with psexec

Pins the bindata version to 2.4.15 as 2.5.0 introduces significant changes that aren't currently compatible with ruby smb

Also aligns the permissions set when openign a directory with those of opening a file

Used by https://github.com/rapid7/metasploit-framework/pull/18895

adfoster-r7 commented 5 months ago

This might have broken psexec if we merge these changes, let's hold off on it

dwelch-r7 commented 5 months ago

This might have broken psexec if we merge these changes, let's hold off on it

this wasn't the issue with psexec as it turns out, made changes anyway to be more intentional with which ppermissions the user requests