Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have the latest version of Samba installed on Suse 9.0 Pro. I can view and change into the shared directories from a Windows machine, but it won't let me copy anything to or from the shared directory. What am I missing? Also, my smb.conf file is awfully small, unlike all the examples I have read on the net. Any help will be greatly appreciated.
You basically don't have the correct write permissions on the directory you are attempting to copy into.
You need to make it writable by whichever user is attempting to write to it.
If it's the users home directory then perhaps you just have a setting wrong in the smb.conf file (you need to say 'read only = no'
Below is a simple smb.conf file that lets users use there own home directories (and write to them):
[global]
workgroup = windows.int
netbios name = linuxownz
[homes]
guest ok = no
read only = no
---
Of course this has no separate shares.
I imagine the problem is permissions though do a ls -al in the directory that you are trying to write to and post the output, or just correct it yourself if you know what you want.
Ok, thanks chado, I will do this as soon as I can get to it. If I enable the home directory shares it will work fine, I just can't get a global share to work properly. Of course I am battling between using Webmin's interface and the command prompt interface. Perhaps I should just stick with command prompt only.
Ok, thanks again Chad. I figured it out. I really didn't care for individual user "home" shares, I just wanted a single "public" share. You were right on the write permissions and that lead me in the right direction. I ended up having to place "force create mode = 0775" and "force directory mode = 6775" in the smb.conf file. All seems to be working right now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.