[Bug 380715] Re: samba shares of symlinks are always read-only
No response from user, closing. Regards chuck ** Changed in: samba (Ubuntu) Status: Confirmed = Won't Fix -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 380715] Re: samba shares of symlinks are always read-only
Can you include the log file when the debug level is set to 9 please? Thanks chuck ** Changed in: samba (Ubuntu) Status: Incomplete = Confirmed -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 380715] Re: samba shares of symlinks are always read-only
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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 380715] Re: samba shares of symlinks are always read-only
I still can't reproduce it. I use your smb.conf and I can put files to the shared share correctly using smbclient. To rule out the client issue, could you try writing to the shared/shared2 shares locally using smbclient ? -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 380715] Re: samba shares of symlinks are always read-only
I've attached my smb.conf file, if it helps. -- Scott ** Attachment added: smb.conf http://launchpadlibrarian.net/28840002/smb.conf -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 380715] Re: samba shares of symlinks are always read-only
Hi Thierry, I tried what you suggested and had the same problem. However, I did discovered something. It seems that it is the *name* of the share that is causing the problem rather than what it is pointing to. On my system, anything shared using the name shared is read-only, whether it points to a folder (i.e., /home/scott/real) or a symlink (i.e., /home/scott/shared). The smb.conf entry above is read-only from my windows machines (I've tried it from two different machines). However, if I simply change the name of the share to shared2 then it works as expected, i.e., I change it to read: [shared2] path = /home/scott/shared writeable = yes browseable = yes valid users = scott I've looked through my smb.conf file and there are no other instances of shared other than that above. Also, the read-only problem is happening from two different windows computers. So, I think it's still something happening on the server side. Is it possible that samba has some other configuration information somewhere or that shared is somehow reserved? Any other ideas to try? Thanks, -- Scott -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 380715] Re: samba shares of symlinks are always read-only
I can't reproduce the problem on Jaunty. I created a symlink and shared it using your parameters, I could successfully write to the resulting share. So maybe the issue comes from somewhere else ? Please try a simple local link/share like this and let me know if it works for you: $ mkdir real $ ln -s real shared [shared] path = /home/scott/shared writeable = yes browseable = yes valid users = scott -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 380715] Re: samba shares of symlinks are always read-only
Thanks for the suggestion, chuck. It seems that the parameter you suggested does not change anything. The problem still exists. N.B. this same share configuration worked before with the Ubuntu 8.10 release, but stopped working when I upgraded to Ubuntu 9.04. So, I think it's a problem with the implementation and not the configuration -- but, I'm willing to try other stuff. -- Scott -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 380715] Re: samba shares of symlinks are always read-only
What happens when you put unix extenstions = no? Regards chuck ** Changed in: samba (Ubuntu) Status: New = Incomplete -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 380715] Re: samba shares of symlinks are always read-only
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/27180014/Dependencies.txt -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs