How To Share Folder In Redhat Linux 7?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Create a folder that you would like to share.
2. Open the terminal and type “sudo yum install samba” to install the samba server.
3. Once the installation is complete, open the configuration file in a text editor (e.g. vi/vim) by typing “sudo vi /etc/samba/smb.conf”.
4. Add the following line to the configuration file: “[shared]”
5. Add the path to the folder that you would like to share “path = /path/to/shared/folder”
6. Set the permissions of the folder to allow read and write access to the users who need access “writable = yes” and “read only = no”.
7. Restart the samba service by typing “sudo systemctl restart smb”.
8. Now the folder is shared and can be accessed by other users.