Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-12-2004, 07:21 PM   #1
LQ Newbie
Registered: Feb 2003
Location: Bay Area
Distribution: RH 8.0
Posts: 10

Rep: Reputation: 0
smb share root folder

Hello -

I have a feeling that the subject of this post will get a little more attention than some. I have a linux box in with three other machines on my home network, and so security isn't so much of an issue. I frequently need to move files back and fourth from my linux box to my 2K machines, and right now the process is not very elegant. I'd like to have shortcut on my windows desktop where I could just dump files which would show up in the root folder, and vice versa.

I'm having trouble sharing out the root folder, or creating a link to it in the user folders that will share.

Thanks in advanced for any suggestions.
Old 05-13-2004, 03:25 PM   #2
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 33
Its not a good idea to share root folder over samba (doesnt matter if u mean '/' or '/root'). Why dont u share /tmp or something like /home/public?

Anyway what did u do so far? Have u samba installed and running? If so edit your /etc/samba/smb.conf to allow sharing of some directories. If u changed your smb.conf and it still doesnt work, post it here and we ll try to help u.

PS: Maybe smb.conf is in other location (didnt realize u use RH8)

Last edited by muah; 05-13-2004 at 03:26 PM.
Old 05-14-2004, 02:04 AM   #3
Senior Member
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
muah is right. u better share a specific folder.
i think, if u want to share "/", u will have to enable samba access for root user. because u won't be reach some files because of premissions. u may prefer SWAT to configure samba. it is a web based tool to configure samba. u can install it from redhat cd.

u dont have to share "/" for backup. u can write a simple shell script, and add this script as cron job. so linux will copy necessary files to win2k computer at time.
Old 07-01-2004, 11:18 PM   #4
LQ Newbie
Registered: Feb 2003
Location: Bay Area
Distribution: RH 8.0
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the replies. I don't mean to bring up old stuff, I am still interested in this subject however. The problem is with the ease of moving files back and fourth between systems. On any given windows desktop, I have a shortcut to the desktop of each other system on my kvm switch.

It's very easy to dump files back and fourth, and I would love to include the linux machine in all of this. I edit a lot of php code with zend for windows, and I want as much access to my linux development box, but the system, does not let me do certain things in the root folder such as linked folders, or SMB shares.

I love working with Kate too. I'm a UI guy I guess.

Any suggestions will be appreciated..


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
smb share GiX Linux - Newbie 2 10-25-2005 01:29 AM
SMB Share bharaniks Linux - Networking 2 08-05-2005 04:46 AM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
Cannot write to SMB share as user, can as root GT_Onizuka Linux - Networking 3 10-03-2004 06:52 PM
can't mount smb share as non-root user nixinbarrie Linux - Networking 5 09-27-2004 08:51 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:59 AM.

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