Samba write access: NT_STATUS_MEDIA_WRITE_PROTECTED
Posted: Fri Jun 12, 2009 11:46 am
[PROBLEM]
I've mounted an external USB harddisk as "/media/disk" and want to share it for read/write using samba. Everything is configured conforming to HowTos and docs, and the user I'm using has write access to /media/disk.
Yet, I can read all files and folders, but I cannot create anything there over samba, because samba complains that the file system is mounted read-only - which it ain't.
[SOLUTION]
I've tried renaming the share name in the smb.conf from "[shared]" to something else like "files" and it worked. All other settings were exactly the same. Weird...
Additional information:
An entry in a forum post on ubuntuforums.org mentioned Samba exhibiting irregular behavior when sharing a mount point directly, but that seemed odd to me - and it didn't fix the problem.
I've mounted an external USB harddisk as "/media/disk" and want to share it for read/write using samba. Everything is configured conforming to HowTos and docs, and the user I'm using has write access to /media/disk.
Yet, I can read all files and folders, but I cannot create anything there over samba, because samba complains that the file system is mounted read-only - which it ain't.
[SOLUTION]
I've tried renaming the share name in the smb.conf from "[shared]" to something else like "files" and it worked. All other settings were exactly the same. Weird...
Additional information:
An entry in a forum post on ubuntuforums.org mentioned Samba exhibiting irregular behavior when sharing a mount point directly, but that seemed odd to me - and it didn't fix the problem.