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?
directory
on an NTFS filesystem? Also note that setting666
on a directory will make it completely inaccessible to everyone (please see the permissions tag wiki) – Zanna Jan 02 '17 at 11:03chmod -R 777 directory
which will give permissions to all files currently in the folder and files added in the future without giving permissions to the directory itself. – Arduino_Sentinel Jan 02 '17 at 11:14chmod 777 -R directory
but that returns the same error. – Jan M. Jan 02 '17 at 12:30smbclient "server adress" -U username
. I also seem to be able to change the mode for individual files. Are there smbclient alternatives? – Jan M. Jan 02 '17 at 12:51directory
it self – Arduino_Sentinel Jan 02 '17 at 12:59smb.conf
, if the mount options allow read/write? I don't have experience with smb, I just commented originally because I saw an ill-advisedchmod
:/ I hope someone with the right expertise finds your question. I will upvote it now... – Zanna Jan 02 '17 at 13:09directory
reside? Do you have any control on it? – Marc Vanhoomissen Jan 02 '17 at 15:32