GNOME Bugzilla – Bug 577740
"invalid argument" error on permission issue
Last modified: 2009-04-03 09:31:50 UTC
the bug has been opened https://bugs.launchpad.net/bugs/220434 "$ gvfs-move smb://10.1.1.2/w/rocko/javaprojects/javamail-1.4/demo/README.txt . Error moving file smb://10.1.1.2/w/rocko/javaprojects/javamail-1.4/demo/README.txt: Invalid argument and the copy part of the command works (ie I can see README.txt in . after issuing the command), but the delete fails. On the server, this file has these permissions: -r--r--r-- 1 rocko rocko 11402 2006-04-19 23:13 README.txt 1. Using samba, share a folder 'test' as 'test' on your local machine (with read/write permissions). In the folder, create an empty document 'test1' and make it read-only. 2. Navigate to this folder in nautilus, ie smb://localhost/test, and use the cut command (ctrl-x) on the empty document 'test1'. 3. Navigate to another folder (eg your home folder) and use the paste command (ctrl-c). Nautilus successfully copies the file 'test1' and then says that it cannot copy [sic] it due to 'invalid parameter'. If you want to show that the copy was successful, just put some text into test1 before copying it."
I don't get "invalid argument", I get "permission denied": gvfs-move smb://maurice/data/temp/git-book.pdf . Error moving file smb://maurice/data/temp/git-book.pdf: Permission denied This error is returned by libsmbclient, not gvfs itself. So, I would say it depends on the samba version. I have samba 3.2.8, which one does it fail with?
samba version is 3.3.2 there
the issue is a samba one rather