Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
09-22-2005, 05:07 AM
|
#1
|
Member
Registered: Apr 2004
Posts: 739
Rep:
|
copying files from linux to window with samba
I am running samba on debian 3.1 unstable. I can copy files from my linux box to my windows box with no problem. But, I can not copy files from windows to linux.
I am sure it's something simple.
|
|
|
09-22-2005, 05:23 AM
|
#2
|
LQ Newbie
Registered: Apr 2005
Posts: 23
Rep:
|
I am not sure I understand here,
do you try to copy from windows to linux using windows ? if yes, there is tools to mount linux partition on to a windows, but it is not safe to write, I personally use winscp to write from windows to linux, it use ssh and is very safe (windows gui version of scp)
reup
|
|
|
09-22-2005, 07:07 AM
|
#3
|
Member
Registered: Aug 2004
Location: London
Distribution: FreeBSD 6.0, Freebsd 5.3, Freebsd 4.10, SuSE 9.2 pro, Slackware 10.1, FreeBSD 5.4 RC3
Posts: 270
Rep:
|
You need to mount windows share using samba tools like smb mount. Check out this page http://linuxgazette.net/issue19/micro.html .
Last edited by cyto; 09-22-2005 at 07:10 AM.
|
|
|
09-22-2005, 03:09 PM
|
#4
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,419
|
But, I can not copy files from windows to linux.
If you are trying to use the windows machine to copy to the linux box, do you have file sharing enabled for the users home folder? Does the share have write permissions to the /home folder? Samba needs to be running too.
Post you smb.conf file. Not the whole thing, just the relevant parts.
It does not matter what file system the machine has if you are trying to write to it over the network. But having write permissions does.
|
|
|
09-23-2005, 02:57 AM
|
#5
|
Member
Registered: Apr 2004
Posts: 739
Original Poster
Rep:
|
>do you have file sharing enabled for the users home folder?
not sure.
>Does the share have write permissions to the /home folder?
yes.
>Samba needs to be running too.
Samba is running.
smb.conf:
[homes]
comment = Home Directories
browseable = no
# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
writable = no
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0700
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0700
# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no
|
|
|
09-23-2005, 03:36 AM
|
#6
|
Member
Registered: Aug 2004
Location: London
Distribution: FreeBSD 6.0, Freebsd 5.3, Freebsd 4.10, SuSE 9.2 pro, Slackware 10.1, FreeBSD 5.4 RC3
Posts: 270
Rep:
|
Quote:
Originally posted by walterbyrd
>
smb.conf:
[homes]
# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
writable = no
|
Try changing that to yes. Cheers
|
|
|
All times are GMT -5. The time now is 05:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|