Sharing Files between MacOS and OpenSUSE
Posted 11-06-2010 at 10:10 PM by Focused4Success
I like to keep all of my unique data and configuration scripts for my VMs on the native file system vs. mixing them in with the OS. I keep my user files under /home/username on my Mac. I access these files by mounting this filesystem as /mnt/username under OpenSUSE using CIFS. I also use a shared NIC vs. a bridged NIC to maintain security. Files created should be created with the proper user and group so they remain accessible when created over the network and accessed on the host. Finally, the firewall must be configure to allow access to the filesystem over the network.
To accomplish this do the following on the Mac:
- Under System Preferences perform the following:
-- Under Sharing perform the following
--- Check File Sharing
--- Click Options
---- Check Share files and folders using SMB
---- Check the account to use (Username in this case)
--- Turn on Remote login (for SSH)
- Under Filewall perform the following:
-- Set access for specific services and applications
--- File Sharing (AFP, SMB)
--- Remote Login (SSH)
Perform the following under OpenSUSE:
- mkdir /mnt/joebologna
- add the following line to /etc/fstab
//10.211.55.2/username /mnt/username cifs username=username,group=username,password=xxx,uid=username 0 0
- make sure the cifs service is running using YAST2
- enter the command: mount -a
- cd /mnt/username
- echo >x
- ls -l
The newly created file and all other files should be available with the write permissions.
To accomplish this do the following on the Mac:
- Under System Preferences perform the following:
-- Under Sharing perform the following
--- Check File Sharing
--- Click Options
---- Check Share files and folders using SMB
---- Check the account to use (Username in this case)
--- Turn on Remote login (for SSH)
- Under Filewall perform the following:
-- Set access for specific services and applications
--- File Sharing (AFP, SMB)
--- Remote Login (SSH)
Perform the following under OpenSUSE:
- mkdir /mnt/joebologna
- add the following line to /etc/fstab
//10.211.55.2/username /mnt/username cifs username=username,group=username,password=xxx,uid=username 0 0
- make sure the cifs service is running using YAST2
- enter the command: mount -a
- cd /mnt/username
- echo >x
- ls -l
The newly created file and all other files should be available with the write permissions.
Total Comments 0