![]() ![]() Making a share an Apple Time Machine share The “ path=” option is the path to the directory that you want to share over the AFP protocol. Within the square brackets ( ) that designate the start of the share is the name given to said share. Using something like above we can share any directory that we want. If you would like to lock the user to a specific directory within their home path, you can add the following option. We define the “ basedir regex” so that the Netatalk software knows where to look for the users home directory. This block will allow any connecting user to access their respective home folders. Within this file add the following text to the bottom of the file. To do this, we must modify the “ afp.conf” file by running the command below. We will explain how to make a connection to thedr AFP share in our next section but for now, let’s look into adding directories to be shared. As we have now installed the netatalk software, we will now have to go ahead and configure it to share different directories. Install the Netatalk application to your Raspberry Pi by running the following command. The Netatalk program acts as a file server that is capable of serving many Mac clients as it allows your Raspberry Pi to act as an AppleShare file server. Netatalk is a free and open source implementation of the Apple Filing Protocol (AFP). The package that we are installing is called Netatalk. With the Raspberry Pi now up to date, we can now proceed to install the package that will be handling everything. To ensure everything is up to date run the two commands below. Now before we can setup the Apple File Protocol (AFP) on your Raspberry Pi, we must first ensure that the operating system is up to date. Setting up Apple File Protocol (AFP) On your Raspberry Piġ. Note: The USB ports on the Raspberry Pi might not be enough to power an external drive so you might need to invest in a powered USB hub. Equipmentīelow is all the equipment that you will need for setting up the Apple Filing Protocol on your Raspberry Pi. There are plenty of other NAS solutions that you can take advantage of so if this doesn’t take your fancy I highly suggest taking a look at them. This software implements the “AFP” protocol at a server level allowing your Raspberry Pi to serve files over it. It is Apple’s alternative to the Server Message Block (SMB) and Network File System (NFS) protocols.īy following this tutorial, you will be able to share any directories on your Raspberry Pi using AFP and easily connect to them from a device running the Mac OS X operating system.Īll of this is made possible by the “Netatalk” software. If that is the case, restarting netatalk will fix the issue.The Apple Filing Protocol is Apple’s proprietary network protocol for delivering files over a network. It may automatically pick up the new sharefolder group assigned to user and set it in acl list. Umount the ntfs external drive, then remount it.Īt this point, it is very dependent on how package mount.ntfs or ntfs-3g is built. On Ubuntu create a new group with addgroup sharefolderĪdd all users to that group adduser username1 sharefolder To share common folder between different users: A box should pop up ask for Name and Password, type in your username and password.Type in afp://ubuntu-server-ip, click Connect.Netatalk by default share out home directory, which I guess that is what you are using.įor your wife to connect to your ubuntu home directory on OS X media/Mir\ Yannick allow:jessica options:usedots,uprivĭf -T Filesystem Type 1K-blocks Used Available Use% Mounted on media cnidscheme:dbd allow:isaac,jessica options:usedots,upriv Lrwxrwxrwx 1 root shapiras 7 Aug 18 16:17 floppy -> floppy0ĭrwxrwxr-x 3 root shapiras 4.0K Dec 16 03:28 floppy0ĭrwx- 1 isaac isaac 48K Dec 1 10:51 Frobozz Magic Memory Deviceĭrwx- 1 isaac isaac 28K Aug 20 16:23 Mir Yannickĭrwxrwxr-x 3 root shapiras 4.0K Aug 20 09:01 Network Trash Folderĭrwxrwxr-x 3 root shapiras 4.0K Aug 20 09:01 Temporary ItemsĪfault /davidtennant Tardis allow:isaac cnidscheme:dbd options:usedots,upriv,tm I am trying to share "Mir Yannick", shared group is "shapiras" total 112Kĭrwx- 1 isaac isaac 24K Dec 1 10:52 Belboz the Magnificent The directory in question is a mounted harddrive at /media/ourPhotos ls -lh /media/ I have use chmod 777 on the folder but it made no difference. … you don't have permission to see its contents Netatalk is running and we can both see the folder on the network. My first was me and I am the owner of the folder in question. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |