LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-07-2003, 10:55 PM   #16
NW Otter
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake
Posts: 27

Original Poster
Rep: Reputation: 15

You want to know how to 'map' a network drive from a windows pc on your network to your linux box, right? That's my next step too. I have not got that far yet... so I'm interested in this answer as well.
 
Old 09-07-2003, 10:59 PM   #17
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
i havent ever tried samba or having this m/c connect thro n/w to a win32 m/c.
if you cant write to it, and you have "setup" samba to write to that folder, then can't you add the group under which samba runs to the group that has write access to the /var/www dir on the linux m/c?

again, i have not used samba - just a trial.
 
Old 09-07-2003, 11:01 PM   #18
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
cant you just make a symlink in /var/www or whatever is ur default apache setup to point to the folder on ur win32 machine across the network? can u do that with samba (i would think so)?
 
Old 09-07-2003, 11:05 PM   #19
NW Otter
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake
Posts: 27

Original Poster
Rep: Reputation: 15
So Samba is the network 'gateway' you use? I suppose you could always set up an FTP server... I wonder if that would be easy. Again, I have not read anything on this yet so I am green.

By the way, thanks everyone for the help so far.
 
Old 09-07-2003, 11:09 PM   #20
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
i know not much bout networking. but if u can view folders across the network on linux and win32 with samba, shouldnt it be fairly straightforward to make a link from linux pointing to a dir under win32?

and whatever work u want done on the linux m/c, well, can be done on it easily. i mean, i have apache running right now, and working fine. and most of the pages i put up are just links i created in the /var/www dir instead of writing/creating them there.

so, thats why i was askin bout doing the same with samba since u said u could see the files across the network.

 
Old 09-07-2003, 11:15 PM   #21
nkraft
LQ Newbie
 
Registered: Sep 2003
Location: York, PA
Distribution: MAndrake, Slackware
Posts: 8

Rep: Reputation: 0
well, as far as seeing files, yes, but when i try to write them to the folder i get something that says

cannot delete filename: access is denied.
Make sure the disk is not full or write protected...

=======

sounds like a samba problem to me.... what would the best way be to make it work easily, set up an ftp server, or figure this out?
 
Old 09-07-2003, 11:22 PM   #22
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
well, what i was suggesting was not to create/edit files on the linux machine from win32 and vice-versa. but instead have a link pointing to the working directory across the network.

can u tell me how the mapping is done on samba? is it just like "shared folders" under windows? if ur win32 machine is called "win", and linux "lin" , and u have a dir under win called "webpages", can u make a link on ur linux machine to "/win/webpages"?
 
Old 09-07-2003, 11:23 PM   #23
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
again, you know i havent used/seen samba in action, so this is kinda educational to me too.
 
Old 09-07-2003, 11:26 PM   #24
nkraft
LQ Newbie
 
Registered: Sep 2003
Location: York, PA
Distribution: MAndrake, Slackware
Posts: 8

Rep: Reputation: 0
what is linking. i am not familiar with it. is it similar to mounting a file system? i have not mounted a remote smb share in linux before without a gui... (i'm trying to build this baby all from afar using ssh)

well, it looks like i shall now find some more info and maybe change the document root directory to something else.... maybe then my windows box can write files to the linux box.
 
Old 09-07-2003, 11:35 PM   #25
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
sorry bout the word 'linking". i only meant creating a symbolic link from ur default document root, to some working directory where u have some work. for instance, my doc root looks like:

r@trantor:~$: ls -l /var/www/
total 8
lrwxrwxrwx 1 r www-data 23 Sep 6 12:30 books -> /home/rajesh/ref/books/
-rwxrwsr-x 1 root root 4513 Apr 28 03:50 index.html

so i just have a link under doc root to whereever my "books" folder is so that i can view it by "http://trantor/books"
 
Old 09-07-2003, 11:37 PM   #26
nkraft
LQ Newbie
 
Registered: Sep 2003
Location: York, PA
Distribution: MAndrake, Slackware
Posts: 8

Rep: Reputation: 0
aha! i see now... just to try....
 
Old 09-07-2003, 11:39 PM   #27
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
lemme know if it works
 
Old 09-07-2003, 11:47 PM   #28
nkraft
LQ Newbie
 
Registered: Sep 2003
Location: York, PA
Distribution: MAndrake, Slackware
Posts: 8

Rep: Reputation: 0
what would i type at the command prompt to make the symbolic link to a folder in my home directory?

/home/nkraft/html

is where i have my html docs uploaded to now! yay for ftp because it automatically works!
 
Old 09-07-2003, 11:48 PM   #29
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
under ur document root, "ln -s /home/nkraft/html"
 
Old 09-08-2003, 01:31 PM   #30
nkraft
LQ Newbie
 
Registered: Sep 2003
Location: York, PA
Distribution: MAndrake, Slackware
Posts: 8

Rep: Reputation: 0
i tried the "ln -s /home/nkraft/html"
and then typed

"lynx 127.0.0.1/nkraft"

then i got an error message that said

"You don't have permission to access /nkraft/ on this server"

maybe that symbolic link didn't work....
 
  


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
Lost with MySql, PHP and Apache here Mega Man X Linux - Software 12 01-28-2004 09:02 AM
mandrake lost after slackware Y0jiMb0 Linux - General 27 11-13-2003 04:29 PM
completely lost mandrake 9.0 utterconfusion Linux - Newbie 12 07-09-2003 04:57 PM
Mandrake 9.0 --- lost menus chingasman Linux - Distributions 1 12-28-2002 01:56 PM
Totally lost - RH 7.1, apache, php4, postgreSQL setup marktaff Linux - Newbie 1 09-19-2001 04:10 AM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration