LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs > Focused4Success
User Name
Password

Notices

Rate this Entry

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.
Views 353 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 05:30 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration