Solved

Leopard sharing not working properly

Posted on 2008-06-10
6
977 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
  • 3
  • 3
6 Comments
 
LVL 39

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 39

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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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 39

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built ontop of the OSX Server NetBoot system and uses images & workflows as its core assets. Although …
The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now