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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-04-2017, 09:13 AM
|
#1
|
LQ Newbie
Registered: Apr 2017
Posts: 1
Rep:
|
how to share a folder
Hi everyone
I'm a complete newbie with Linux. I have a folder in one of our Linux servers that i need to allow other users to have read access to.
1. what do i need to do (please be specific with the commands) to allow them to access this folder from another Linux machine?
2. what do i need to do (please be specific with the commands) to allow them to access this folder from a Windows machine?
thanks!
|
|
|
04-04-2017, 09:50 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,179
|
Quote:
Originally Posted by abt13
Hi everyone
I'm a complete newbie with Linux. I have a folder in one of our Linux servers that i need to allow other users to have read access to.
1. what do i need to do (please be specific with the commands) to allow them to access this folder from another Linux machine?
2. what do i need to do (please be specific with the commands) to allow them to access this folder from a Windows machine?
|
Read the "Question Guidelines" link in my posting signature. Without details, there is little we can do to help you. You don't say what version/distro of Linux is on the server, the other Linux machine, what version of Windows, and if these machines are on the same network or not.
We can't (and won't) re-type the how-to guide you're going to need, but there are many you can find. Short answer: configure Samba on your Linux server...that should allow you to share the folders, and give access easily. Put "how to configure samba on <whatever version/distro of Linux you have>" into Google, and chances are you'll find a how-to guide.
https://www.samba.org/samba/docs/man...n/install.html
That's only one. There are probably others targeted specifically at your distro.
|
|
|
04-04-2017, 06:49 PM
|
#3
|
LQ Newbie
Registered: Apr 2017
Posts: 8
Rep:
|
Quote:
Originally Posted by abt13
Hi everyone
I'm a complete newbie with Linux. I have a folder in one of our Linux servers that i need to allow other users to have read access to.
1. what do i need to do (please be specific with the commands) to allow them to access this folder from another Linux machine?
2. what do i need to do (please be specific with the commands) to allow them to access this folder from a Windows machine?
thanks!
|
Samba is your answer.
There are many samba video tutorials on youtube.com to easily install and configure samba for linux and windows users to access shared folders.
Some videos on samba may be way dated. Use the filter tool on youtube.com to get the most up to date info on installing and configuring samba if possible.
Last edited by ackerman57; 04-04-2017 at 07:59 PM.
|
|
|
04-04-2017, 07:47 PM
|
#4
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Are they still giving classes on Linux?
Because that surely sounds like something a teacher would assign students to do.
|
|
|
04-05-2017, 04:08 PM
|
#6
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,861
|
But, here's the skinny ...
Yes, Linux supports several network file systems. One is NFS, which comes in several versions (NFSv4 being the latest at this writing). And, through Samba, it also has support for Windows' SMB network filesystem.
(And Windows, these days, also has available support for NFS.)
This should give you "something to start Googling." (And, investigating by searching this site.) The procedures will vary according to what your needs are, and they aren't .. .. .. " " .. going to be "a simple command."
If you want advice, we need to know much more about your situation. You have several plausible options. If Windows clients are involved, Samba is likely to be your best bet. (If Romans are nearby, just speak Roman ...)
Last edited by sundialsvcs; 04-05-2017 at 04:10 PM.
|
|
|
All times are GMT -5. The time now is 06:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|