LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-04-2017, 09:13 AM   #1
abt13
LQ Newbie
 
Registered: Apr 2017
Posts: 1

Rep: Reputation: Disabled
Smile 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!
 
Old 04-04-2017, 09:50 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,828

Rep: Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983
Quote:
Originally Posted by abt13 View Post
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.
 
Old 04-04-2017, 06:49 PM   #3
ackerman57
LQ Newbie
 
Registered: Apr 2017
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by abt13 View Post
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.
 
Old 04-04-2017, 07:47 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Are they still giving classes on Linux?

Because that surely sounds like something a teacher would assign students to do.
 
Old 04-04-2017, 08:14 PM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,852

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Agree with BW-userx, sounds like an assignment.

Here's a Youtube video: https://www.youtube.com/watch?v=fNQTFhg1ZXY
 
Old 04-05-2017, 04:08 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,159
Blog Entries: 4

Rep: Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233Reputation: 3233
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.
 
  


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
Redirect an app resource folder from system /usr/share to /home/user/[app]/usr/share minyor Linux - Software 2 04-23-2013 06:44 AM
Need Perl script to get files from Linux Samba share folder to Windows folder kowsi Programming 1 10-10-2012 05:57 PM
How to set up public folder/ share folder for my network? Kiwi89 Linux - Server 6 10-31-2011 05:10 AM
unable to share a folder in suse 10.0, folder defaults to not shared sirius57 Linux - General 1 05-15-2010 03:33 AM
share folder vkmgeek Linux - General 5 09-02-2006 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:51 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
Open Source Consulting | Domain Registration