firwareslut wrote:I am using the following mount option in fstab to mount my smb share
//192.168.0.150/public /media/NETWORKHD smbfs username=xx,password=xx,allow_other,noauto,users 0 0
It works pretty much perfectly except any file copying operation from my Ubuntu install returns with "ERROR: Cannot change permissions" when the file has finished transferring.
Is there something missing from my fstab command or is it a setting in smb.conf?
I assume you mean you copy files from your nwsp2 to the Ubuntu machine and then you can not change the permissions
The reason could be that the username and uid that you used on your ubuntu machine is different from the one used when the file was stored on the nwsp. if those are different and the write flag is not set for others then you can not change permission on the Ubuntu machine.
Suggest to have a look at properties of the copied file when having it copied to the Ubutu machine and check owner/group settings. If thats different from user under which you run Ubuntu and the write flag is not set for others then it is clear why it can't not change permissions. Then you need superuser (root) to change it or be member of the sudoers.
ps mounting options have no influence on the file properties you copy, those are only used for authentication and gain access to the sever.