[Bug 380715] Re: samba shares of symlinks are always read-only
Killing Vector
p at dirac.org
Sat Oct 10 05:59:38 BST 2009
I can confirm this problem. On my Kubuntu Jaunty box:
/data/multimedia
/data/multimedia/mp3
/data/mp3 <-------- symlink to /data/multimedia/mp3
On Windows, when I access the files under /data/mp3, they are all read-only. No write permissions at all.
But when I access those same files using /data/multimedia/mp3, they are
read/write.
For example, when I use the Network Neighborhood:
* /data/multimedia/mp3/readme.txt is read/write.
* /data/mp3/readme.txt is read-only.
There's something about following a symlink that makes the files read-
only.
All files under /data/multimedia/mp3 have permissions rw-rw-r and all
directories have permissions rwxrwxr-x. Everything has ownership p:users
(p is my username and is a member of users).
Here is the relevant sections of smb.conf:
[data]
comment = Public read/write data directory.
path = /data
read only = no
public = yes
[mp3]
comment = Public read/write mp3 directory.
path = /data/mp3
read only = no
writable = yes
follow symlinks = yes
wide links = yes
public = yes
One interesting thing I've noticed in my log files about trying to write to share mp3:
[2009/10/09 20:48:43, 0] param/loadparm.c: process_usershare_file(8327)
process_usershare_file: stat of /var/lib/samba/usershares/mp failed. No such file or directory
The "3" in "mp3" seems to have been cut off. I wonder if that's relevant?
--
samba shares of symlinks are always read-only
https://bugs.launchpad.net/bugs/380715
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
More information about the Ubuntu-server-bugs
mailing list