- #Setup shared folder for on linux for mac client how to#
- #Setup shared folder for on linux for mac client Pc#
However, you can also make the mount permanent if you like (e.g. In finder you will see a new entry called (e.g.) "dustycray" on the left in the section "locations", also in file-open dialogs.Ībove's mount procedure is not permanent, I use a script to mount it whenever I need it. Then the NFS can be accessed in the path /private/nfs. Sudo mount -t nfs -o resvport,rw dustycray:/home/tux/mp3 /private/nfs
#Setup shared folder for on linux for mac client Pc#
#Replace the ubuntu pc name (dustycray) and the path (home. Now on the mac, open a terminal as shown above and enter (leave /private/nfs as it is): sudo make /private/nfs #leave with ctrl+x and confirm file saving home/tux/mp3 Bills-MBP(rw,sync,insecure,all_squash,anonuid=1000,anongid=1001) # At the end of the file add the following line, replace the path name, the Client PC Name and the two numbers with your values: With somewhat more configuration, you can deploy Samba shares in a domain environment. With this basic setup, you will be able to access file shares from client machines in your network. # remember the number, use it below as anongid (replace the 1001 there) Accessing a Samba share on Linux and Windows is easy. # remember the number, use it below as anonuid (replace the 1000 there)
On the NFS-Server (Ubuntu EOAN in my case) enter in the terminal (which we opened as shown above): id -u tux name of Ubuntu: dustycray (Can be found out like shown above.)įolder on Ubuntu to be shared: /home/tux/mp3 Use whatever folder you need to share as absolute path Enter "terminal", start the terminal, the user name will be shown before the sign in the prompt. When this property is selected, the virtual machine can view and copy files from the shared folder, but it cannot add, change, or remove files. Read-only: Make the shared folder read-only. In the TCP Port Number (s) field enter '2049,111'. Deselect this option to disable a shared folder without deleting it from the virtual machine configuration. Hit 'New.' and select 'Other' from the dropdown list. You will see a list of network services that you can click on to enable or disable access - however, NFS is not on the list.
Username in Ubuntu: tux (Press the penguin-key on your keyboard, if you have none, order a penguin keyboard sticky and place it over the ugly key with four mis-shaped squares near the space bar. Open 'System Preferences, Sharing', and go to the 'Firewall' tab. Use what's written between the and the : as client PC name further below). Select the Folder/File you want to share> Click the Share button 3. Login on your Microsoft OneDrive cloud account 2.
#Setup shared folder for on linux for mac client how to#
Example on how to mount a NFS share on Ubuntu Eoan as a server and MacOS Catalina as a client.Įxample assumptions (you need to adapt this):Ĭlient PC name: Bills-MBP (Press Cmd+Space, start 'terminal', there something like is written as a prompt. Microsoft OneDrive personal cloud storage is very popular 1.