macos virtualbox changed permissions during installation

all

i have an old 2013 intel macbook with o/s upgraded to macos 11.5 (big sur)

i just installed virtualbox 7.1.6 and installed the developer SDK (prompted for this, i chose “y”)

Now, it looks like the Downloads directory permissions are changed and i cant execute “ls” any more from within the Downloads directory.

not sure what happened – looking for guidance on this.

edit: more on this

is it necessary to install the virtualbox sdk during installation? not sure exactly how permissions in the downloads dir got changed, but suspect it may have been this part of the install – it definitely installed modules into the site-packages directory for /usr/bin/python3 (not impressed with this).

thanks v much for your time on this.

below is what now happens – my gut is to just perform a blanket change to permissions in the Downloads directory, but wanted to get a 2nd opinion b4 i pull the trigger on it.

edit: more on this: this issue only occurs from cmdline in a macos terminal – not sure why the “finder” app works but the terminal doesn’t. ….

marks-MBP:~ markrostron$ ls -l
total 0
drwxr-xr-x   5 markrostron  staff   160 Feb  8 12:13 Applications
drwx------+  4 markrostron  staff   128 Feb  8 08:16 Desktop
drwx------+  8 markrostron  staff   256 Feb 11 12:32 Documents
drwx------+ 97 markrostron  staff  3104 Feb 11 12:13 Downloads
drwx------@ 74 markrostron  staff  2368 Feb 10 18:54 Library
drwx------+  4 markrostron  staff   128 Feb  8 08:23 Movies
drwx------+  6 markrostron  staff   192 Feb 10 19:29 Music
drwx------+  4 markrostron  staff   128 Feb  8 07:50 Pictures
drwxr-xr-x+  5 markrostron  staff   160 Dec  7  2023 Public
drwxr-xr-x   3 markrostron  staff    96 Feb 10 20:13 VirtualBox VMs
marks-MBP:~ markrostron$ cd Downloads/
marks-MBP:Downloads markrostron$ ls 
ls: .: Operation not permitted