Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

netatalk 2.2 with Lion Finder has 'unknown access'

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
greenius
n00b
n00b
User avatar
Posts: 14
Joined: Mon Mar 29, 2004 2:17 pm
Location: Oxford, UK
Contact:
Contact greenius
Website

netatalk 2.2 with Lion Finder has 'unknown access'

  • Quote

Post by greenius » Thu Sep 29, 2011 5:43 pm

I have netatalk 2.2.1 installed on a Gentoo machine, and Lion (10.7.1) installed on Macbook air.

I have a strange problem where when I mount any afp drive I can access it fine using command line tools, but using Finder and other Gui Applications (eg TextEdit). , it can not write to the drives.

If you click on one of the shares or folder inside it and select 'Get Info', the 'Sharing and Permissions:' section says: 'You have unknown access', then underneath that table of users/groups with
myusername read/write
everyone read/write

From a command line terminal on the macbook I can copy and modify files within the mounted afp volume (/Volumes/drivename), and all seems to work fine.

I've tried all different combinations of options in the config files and doesn't make any difference to this problem. The fact it works from command line tools indicates that the Gentoo side of it probably is working, but why can't finder modify files and reporting 'unknown access'?

Before Lion with netatalk 2.1, this was all working fine and was happily using it to share drives on the linux computer with the mac and for a wifi timemachine.

I can post config files and debug logs from afp and cndi if anyone thinks they will be useful, but as I said I have tried many different combinations of options and settings.
Top
greenius
n00b
n00b
User avatar
Posts: 14
Joined: Mon Mar 29, 2004 2:17 pm
Location: Oxford, UK
Contact:
Contact greenius
Website

Re: netatalk 2.2 with Lion Finder has 'unknown access'

  • Quote

Post by greenius » Thu Sep 29, 2011 9:11 pm

I got this working by rebuilding the kernel without acl, disabling the acl use flag and removing acl from mounts in fstab.
Top
webhawg
Apprentice
Apprentice
User avatar
Posts: 293
Joined: Fri Oct 18, 2002 6:07 pm

  • Quote

Post by webhawg » Sun Dec 04, 2011 2:40 am

Could you post a few of the config files that you used and edited to get this working?

I can copy/paste files into my TimeMachine directory, but I cannot get TimeMachine to backup anything. I just need a little direction in how to get this working. I'd appreciate it.
Top
greenius
n00b
n00b
User avatar
Posts: 14
Joined: Mon Mar 29, 2004 2:17 pm
Location: Oxford, UK
Contact:
Contact greenius
Website

  • Quote

Post by greenius » Sun Dec 04, 2011 10:12 am

webhawg wrote:Could you post a few of the config files that you used and edited to get this working?

I can copy/paste files into my TimeMachine directory, but I cannot get TimeMachine to backup anything. I just need a little direction in how to get this working. I'd appreciate it.
On the mac from a command line, type in (as root or use sudo):

Code: Select all

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
I have a seperate partition on gentoo for the timemachine.

Here are some config settings. I've only included the non-comment lines to make this post readable.

/etc/netatalk/AppleVolumes.default:

Code: Select all

:DEFAULT: options:usedots cnidscheme:dbd
~
/var/timemachine/steven-macair timecapsule options:tm
/usr/local/share public
/etc/netatalk/netatalk.conf

Code: Select all

ATALK_UNIX_CHARSET='LOCALE'
ATALK_MAC_CHARSET='MAC_ROMAN'

export ATALK_UNIX_CHARSET
export ATALK_MAC_CHARSET

CNID_METAD_RUN=yes
AFPD_RUN=yes

AFPD_UAMLIST="-U uams_dhx.so,uams_dhx2.so"

/etc/netatalk/afpd.conf

Code: Select all

- -tcp -noddp -uamlist uams_dhx2.so -nosavepassword
/etc/fstab

Code: Select all

/dev/sda7       /usr/local/share auto           noatime,user_xattr              0 2
/dev/sda8       /var/timemachine/steven-macair auto     noatime,user_xattr              0 2
I don't think the user_xattr is required for timemachine to work. I enabled that when trying to sort something else out. If you use it then you need to enabled extended attributes in the linux kernel config and emerge sys-apps/attr. I am using the ext4 file system.

You also need avahi I think.
/etc/avahi/services/afpd.service

Code: Select all

<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_afpovertcp._tcp</type>
<port>548</port>
</service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=Xserve</txt-record>
</service>
</service-group>
I know when I first set up time machine I had to do some fiddling about, manually creating a sparse file on the shared drive for timemachine to find, but I think that Lion does this automatically now.

I hope some of this helps.
Top
webhawg
Apprentice
Apprentice
User avatar
Posts: 293
Joined: Fri Oct 18, 2002 6:07 pm

  • Quote

Post by webhawg » Sun Dec 04, 2011 9:11 pm

Thanks for the reply. I'm still unable to get it to work....

/etc/netatalk/AppleVolumes.default

Code: Select all

:DEFAULT: options:usedots cnidscheme:dbd
/mnt/WDBackupDrive/macbookpro/TimeMachine "TimeMachine" options:tm
/etc/netatalk/netatalk.conf

Code: Select all

ATALK_UNIX_CHARSET='LOCALE'
ATALK_MAC_CHARSET='MAC_ROMAN'

export ATALK_UNIX_CHARSET
export ATALK_MAC_CHARSET

CNID_METAD_RUN=yes
AFPD_RUN=yes

AFPD_UAMLIST="-U uams_dhx.so,uams_dhx2.so"
/etc/netatalk/afpd.conf (same)

Code: Select all

- -tcp -noddp -uamlist uams_dhx2.so -nosavepassword
/etc/fstab

Code: Select all

/dev/sda1               /mnt/WDBackupDrive      ntfs-3g         locale=en_US.utf8 0 0
/etc/avahi/services/afpd.service (same)

Code: Select all

<?xml version="1.0" standalone='no'?><!--*-nxml-*--> 
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> 
<service-group> 
<name replace-wildcards="yes">%h</name> 
<service> 
<type>_afpovertcp._tcp</type> 
<port>548</port> 
</service> 
<service> 
<type>_device-info._tcp</type> 
<port>0</port> 
<txt-record>model=Xserve</txt-record> 
</service> 
</service-group> 
I still get an error message from Lion that "The network backup disk does not support the required AFP features. Open Time Machine preferences to select a different backup disk." Ugh! This worked prefectly with just samba before Lion was released.
Top
dmpogo
Advocate
Advocate
Posts: 3717
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Mon Jan 30, 2012 8:03 am

webhawg wrote:Thanks for the reply. I'm still unable to get it to work....


Code: Select all

/dev/sda1               /mnt/WDBackupDrive      ntfs-3g         locale=en_US.utf8 0 0
I still get an error message from Lion that "The network backup disk does not support the required AFP features. Open Time Machine preferences to select a different backup disk." Ugh! This worked prefectly with just samba before Lion was released.
Could that be issue with ntfs-3g support under Lion ?
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic