Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Hi, I use Debian Lenny with Samba 3.2.4. I'm publishing a directory for my windows user, they can access to it, view the files, but can't copy/paste from /to the directory, surely is a permission related issue, but i don't get where to set the properly permission, this is my conf of the samba.conf:
Code:
[platform]
comment = Info solo para registrados
path = /media/virtso/platform
valid users = jacobo
read only = no
browsable = no
public = no
create mode = 0750
writable = yes
I think that settip writable to yes it will work, but it doesn't, my question is: what flag do I have to set up correctly to copy/paste execute files in this directoy?
The user jacobo has to be a valid user on the linux system, and have a valid samba password which is the same as the windows password that the user is using when he/she logs in. So to setup a user in samba:
Code:
root@samba:# adduser jacobo
## if you don't want the user to have access to the linux box directly, do not enable the account.
## look at man pages for adduser....
root@samba:# smbpasswd jacobo
Enter new password:
## Get the user to enter their valid windows password here, and confirm it again....
and thats more or less it! basically, you need to have a valid linux UID and GID which can be mapped by samba to a valid SMB UID and GID.
Last edited by irishbitte; 03-19-2009 at 07:08 PM.
Well, I found the problem, it's all about file permissions, I thought that the config in samba was over the native permissions of linu, but that's wrong, All I needed was:
chmod g+r *
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.