[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 996
  • Last Modified:

Leopard sharing not working properly

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
poko2121
Asked:
poko2121
  • 3
  • 3
1 Solution
 
Eoin OSullivanConsultantCommented:
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
 
poko2121Author Commented:
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
 
Eoin OSullivanConsultantCommented:
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
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 
poko2121Author Commented:
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
 
Eoin OSullivanConsultantCommented:
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
 
poko2121Author Commented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now