Sharing files between MacOS and Redhat

First , you need to share your files in MacOS

Do the following things in redhat
yum install samba-client cifs-utils

edit this file : /etc/fstab
ad this line

//192.168.1.6/Documents /data cifs user=user,password=password 0 0

then run: mount -a

if you receive the error

mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

then change the line to (vers=3.0)

//192.168.1.6/Documents /data cifs user=user,password=password,vers=3.0 0 0

Leave a Reply

Your email address will not be published. Required fields are marked *