I have two users in Ubuntu. My first was me and I am the owner of the folder in question. The second is my wife. Netatalk is running and we can both see the folder on the network. I can access it but she cannot. She gets an error in OS X:

… you don't have permission to see its contents

I have use chmod 777 on the folder but it made no difference. Any ideas?

2 Answers
2

netatalk by default share out home directory, which I guess that is what you are using.

For your wife to connect to your ubuntu home directory on OS X

Open Finder

Click Go on top menu bar

Click connect to Server...*

Type in afp://ubuntu-server-ip, click Connect

A box should pop up ask for Name and Password, type in your username and password

To share common folder between different users:

On Ubuntu create a new group with

addgroup sharefolder

Add all users to that group

adduser username1 sharefolder
adduser username2 sharefolder

Umount the ntfs external drive, then remount it.

At this point, it is very dependent on how package mount.ntfs or ntfs-3g is built. It may automatically pick up the new sharefolder group assigned to user and set it in acl list. Which is not obvious in ls -l < mount point >. If that is the case, restarting netatalk will fix the issue.

If the above do not apply, then it can be fixed by mount option describe below

Its not the home directory, its a mounted hard drive. I didn't realize that was significant. My apologies, I have edited my answer.
–
FresheyeballDec 16 '12 at 8:44

But can your wife access that share with my method?
–
John SiuDec 16 '12 at 8:45

Well she can access her home folder fine, thats the method we where using actually. And she can see the folder in question too, but it got a red circle on it in osx and says she does not have permission to access content.
–
FresheyeballDec 16 '12 at 8:50

She has to "umount" her home folder, then "mount" your folder with your login. You can only use one credential with a server at a time. You cannot connect as A to Folder-A and as B to Folder-B at the same time to a single server.
–
John SiuDec 16 '12 at 8:53

Are you telling me that netatalk is not capable of sharing the same folder to two different accounts?
–
FresheyeballDec 16 '12 at 9:05

It seems that your directory permissions are incorrect. Netatalk cannot override system permissions, that is, the directory must be accessible to the user as if they were on the computer. In this case, you own the drive "isaac", the group is also "isaac", and have the perm 0700. You need to change the group of the folder to one that "jessica" is in, and change the permissions to 0770. This will allow anybody in the group rwx. If you have files on the drive that only you want access to, change the perm to 0700, so the group has no access.

I could be wrong, but I believe netatalk needs x permission on a folder to show the contents.