LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   share folder (https://www.linuxquestions.org/questions/linux-general-1/share-folder-479325/)

vkmgeek 09-01-2006 12:25 AM

share folder
 
Hi all,

I want to share a folder from my Linux box such that anyone in LAN can see it. I am using REDHAT 9 distro.
I want to do it from command prompt and not from GUI. I have read man smb.conf and I came to know that I need to edit smb.conf file. I have edited and tried a lot. But, when I apply mount -t smbfs..... command from another Linux PC, it gives me ERRNoaccess... I dont understand why... I have put guest ok = yes and public = yes and writable = yes...
Plz help me..
Thnx in advance...

jstephens84 09-01-2006 09:50 AM

Might need to check into your fstab. I think you have to create the mount point in there so that linux will know how to mount it.

vkmgeek 09-01-2006 11:20 PM

hi
how fstab came into picture? Suppose some one is sharing his folder from windows PC. I can directly mount it... NO need to touch fstab...
Please write back..
Thanks,

lurko 09-02-2006 02:25 AM

Quote:

But, when I apply mount -t smbfs..... command from another Linux PC, it gives me ERRNoaccess..
are you providing a username and password for the share when you try to mount it?? (like so: mount ..etc.etc... -o username=myusername,password=mypassword)

http://www.justlinux.com/nhf/Filesys...rmanently.html <-- I think this guide has the answers you seek, and a bit more.


btw, you shouldn't need to edit your fstab(on either computer) unless you're planning to mount these shares on bootup. I doubt anything in your fstab is interfering with your attempts to mount a share from the CLI, unless of course you're trying to mount your share to a folder that's already got something mounted to it...

vkmgeek 09-02-2006 04:29 AM

Thanks,
I think it's a very appropriate link

lurko 09-02-2006 07:38 AM

hey no problem, I'm glad I could offer advice that was actually sound, considering my still totally noob-tastic level of experience/know-how.


All times are GMT -5. The time now is 04:13 AM.