I am logged in to some server with smbclient and I am sharing a LaTeX project (contained in directory) with other people. Currently, all files seem to have permissions 600. For other people to be able to collaborate, they (i.e. anyone) must be able to modify all files within that directory. However,
chmod -R 777 directory
returns
NT_STATUS_INVALID_PARAMETER
How do I apply chmod recursively within a smbclient prompt?