Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
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...
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,
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)
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.