Comment 21 for bug 393012

Revision history for this message
Neil Broadley (scaine) wrote : Re: smb: Error while copying file, "Invalid argument"

Przemysław Kochański, you've indicated that you've tested this and it works. Can you post details of what you tested? As previously stated, I've updated to smbclient 3.4.0-3 (now ubuntu5 as of posting), but all my smb shares are /still/ mounted read-only by autofs. Should I open another bug?

Steps to replicate :
1. Create a standard samba share on your server with read/write guest access, no password. I use Jaunty 64-bit for my server.
2. Install beta karmic on your client PC, then update fully.
3. Install autofs (I've also tried autofs5, with same result).
4. edit /etc/auto.master and uncomment /smb line
5. sudo invoke.rc.d autofs restart
6. Use nautilus to browse to /smb/<servername>/<sharename>

You'll notice your share is read-only. Now run gksudo nautilus and browse to the same directory for read/write access.

The exact same procedure on a Jaunty build results in read/write shares as expected.