Solved

Leopard sharing not working properly

Posted on 2008-06-10
6
984 Views
Last Modified: 2013-11-12
Hi guys, so I'm trying to share a folder in my home folder (inside of my pictures folder specifically) and when I share the folder it can't be seen on other macs or windows pc's.  If I share a folder outside of my home folder then I can access it, but if the shared folder is in my user folder then it won't show up over the network.  This is when using guest sharing.  

The other problem is if I authenticate the sharing and connect using my username and password then it shares my entire hard drive.  It doesn't only share the folders I have shared specifically.

How can I give access to specific folders with guest access and how can I make it so connecting with my username doesn't share my entire hard drive?

Thanks in advanced for the help guys, this is getting really frustrating for me
0
Comment
Question by:poko2121
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 40

Accepted Solution

by:
Eoin OSullivan earned 500 total points
ID: 21757709
poko2121

You are running up against one of the problems with OSX Windows File Sharing in Leopard.

If you share folders INSIDE your Home folder there are issues with permissions (especially for guest users).  That is that the owner of the Home folder tends to overrule the guest sharing on the subfolder.

In OSX10.4 there was a great tool called SharePoints (http://www.hornware.com/sharepoints/)which did it smoothly.
In Leopard I've only found 2 solutions that work .. sort of
1. DO NOT USE Guest account for file sharing.  Instead create a username and password in the File Sharing preferences and allow that account to have permissions on the share.
2. Create a Hard Link between the folder inside the Home Folder to an alias located OUTSIDE the Home folder and share that instead.  More on hard links here http://www.ss64.com/osx/ln.html 
0
 
LVL 2

Author Comment

by:poko2121
ID: 21757783
ya I used to use sharepoints on tiger.  But I am having this problem not only with windows sharing but also with AFP sharing.  the guest account can only see files that are outside of my home folder.  And if I authenticate with my user name then for some reason my entire hard drive shows up.

Now, I've tried making a regular alias outside my home folder.  The alias shows up in the network browser on the other mac, but I can't see any files in it.  I am assuming that a hard link is different from a regular alias...I got to read more about that.

So I'm having this problem with windows and with mac?  How can there be such a big bug?

Thanks
0
 
LVL 40

Expert Comment

by:Eoin OSullivan
ID: 21757835
Don't use plain apple aliases ..you need what is known as a symbolic link.

Have you tried creating a specific username and password and giving them access to the share.  In the Sharing Preference Pane?
If you give someone your username and password .. then they are logging in as you so they SHOULD see everything.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 2

Author Comment

by:poko2121
ID: 21757933
ya but shouldn't they still only see things that I have set as "shared?"

what I did was make a new user for sharing like you said, and it seemed to be working fine for afp sharing,
but apparently from windows I can't browse the computer using a sharing only account, so I just made a real account and it seems to be working for both.

Do you still see any benefit to creating symbolic links?

Thanks
0
 
LVL 40

Expert Comment

by:Eoin OSullivan
ID: 21758478
If the new user account sorts it .. then that's enough.

Don't bother with the symbolic links.

The guest user function in SAMBA sharing in OSX does not work well as you discovered.

As for your question "ya but shouldn't they still only see things that I have set as "shared?""
The simple answer is NO .. when you give someone your default username and password they have full access to all the resources that you have "ownership" of.  If you're the default user on the Mac this will include most folders.  User level restrictions really only kick in for secondary users .. that is why I recommend creating another user account either in File Sharing or an overall User Account in the System Preferences (this has more functionality)
0
 
LVL 2

Author Comment

by:poko2121
ID: 21763159
Got it.  Thanks so much for the help.  I'm surprised this whole sharing thing is so confusing.  Hopefully it'll get sorted out soon.

Thanks again for all the help eoinosullivan
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SUMMARY Enterprise backup in a heterogeneous network is a subject full of complications and restrictions. Issues such as filename & path structure, attributes and extended metadata always tend to complicate the subject to the extent where either …
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question