LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-19-2004, 09:39 AM   #1
kopite2012
Member
 
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
Sharing Folders in Linux


Hello
I need to share a folder on my linux box that can be viewed and written to from a windows machine. I do not have Gui installed and cannot install it due to lack of processor power and memory.

What do I need to do to acheive this.

1. Firstly I cannot view my Linux box in network neighbourhood from a Windows Platform

2. Secondly, How do I share a folder in Linux

3. Thirdly, How do I configure the share so that it can be viewed and edited from a windows platform.

Many thanks for your help. Regards.
 
Old 04-19-2004, 09:42 AM   #2
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
samba should do the trick
 
Old 04-19-2004, 09:48 AM   #3
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
once samba is installed and configured properly add this to share a directory

[share]
comment = share
path = /path/to/your/shared/directory
public = yes
browsable = yes
writeable = yes

for samba documentation

http://hr.uoregon.edu/davidrl/samba/

http://us1.samba.org/samba/docs/using_samba/toc.html

good luck.
 
Old 04-20-2004, 09:52 AM   #4
kopite2012
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
I have started the process of installing Samba 3.0.2a

I have gone past the stage of typing

./configure \
--pre=/usr/local/samba \
--with-configdir=/etc/samba \
etc.. etc... etc..

typed make

and for the past two hours its been compiling several different components like fault.c, get smbpass.c etc..

Is it normal for Samba to take this long to compile, or is there something wrong with the installation and I need to cancel it?

Many thanks in advance for the info. regards,
 
Old 04-20-2004, 12:56 PM   #5
iemerick
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Rep: Reputation: 0
from my experience compiles can take quite some time. i often start them just before i go to lunch so they run while im gone. if your machine is on the low end as far as resources go i wouldnt be alarmed at compiles that measure in hours.
 
Old 04-20-2004, 01:15 PM   #6
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
if compile and your machine is not that fast it takes time, when you install a binary it is faster to install but it is not optimized and takes more space
 
Old 04-21-2004, 04:07 AM   #7
kopite2012
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Samba

I have installed and configured Samba on my Linux machine, and as a test I have set the /etc directory to be a public share.

Now in my Windows machine when I type \\MyLinux01\Public

I get the contents of the etc directory. I can also copy any file from it to my desktop or windows network share. However when I copy a file from my destop to the etc directory I get an error message that reads

"Cannot copy <FileName> Access Denied, The source file may be
use".

I know that the source file (which is a simple txt file) is definately not in use.
Does anyone know what the problem might be.

I have changed the following on my smb.conf file.

workgroup = <my domain name>
Security = Server
password server = <PDC BDC>


[public]
path = /etc
public = yes
only guest = yes
writable = yes
printable = no

Many thanks in advance for the help. Regards
 
Old 04-21-2004, 10:00 AM   #8
kopite2012
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
I have managed to overcome this problem by typing
chmod 777 /etc

which I believe gives read/write permission for everyone on the /etc directory. didn't realise Linux deals with file permission's similar to NT

Many thanks to everyone for their help. regards,
 
Old 05-02-2010, 11:17 AM   #9
Undermind
Member
 
Registered: Sep 2009
Location: Denmark
Distribution: Arch Linux
Posts: 37

Rep: Reputation: 15
I wouldnt give everyone read and write rights to the /etc directory, since its there all the config stuff is, and an unwelcome person could do some serious damage there. Rather, share your home directory, or make a folder called share or something
 
Old 06-16-2010, 04:57 AM   #10
kralc
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
im in a similar situation i have ubuntu 10.04 and cant find how to configure samba i know its installed but as im new to lunix i cant find anything please help im really just after network access to my windows mecbine
 
Old 06-16-2010, 08:54 AM   #11
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
1) It's "Linux", not "lunix".

2) This thread is 6 years old.
 
Old 06-16-2010, 05:24 PM   #12
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Hi kralc, Welcome to Lq. You would likely get more help by staring your own thread, but hopefully this will get you going.

https://help.ubuntu.com/community/SettingUpSamba

Good luck. ;-)
 
Old 06-17-2010, 04:00 PM   #13
jefro
Guru
 
Registered: Mar 2008
Posts: 11,135

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Why not share it ftp or tftp?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing folders jstephens84 Fedora 1 09-18-2004 12:13 PM
Sharing Folders between Linux Boxes JCScoobyRS Linux - Networking 2 03-25-2004 02:41 PM
Sharing folders across linux network linuxboy69 Linux - Networking 3 01-09-2004 12:22 PM
sharing folders atari303 Linux - Networking 5 05-26-2001 09:59 AM
sharing folders atar303 Linux - Distributions 1 05-25-2001 08:44 AM


All times are GMT -5. The time now is 04:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration