Solved

Leopard sharing not working properly

Posted on 2008-06-10
6
985 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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 …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

688 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