Difference between revisions of "Storage and file sharing"

From Amahi Wiki
Jump to: navigation, search
m (typos)
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
All file sharing functionality in the Amahi HDA is now managed through the web browser interface found at http://setup
+
All file sharing functionality in the Amahi HDA is now managed through the web browser interface found at '''[[Setup|<nowiki>http://setup</nowiki>]]'''
  
 +
The first step is to create "users" who will be accessing the file shares. For example, one user for the wife and one for each of the kids.
  
----
+
The second step is to create the shares (another term for filing folders) to put the files.
  
 +
The third step is to "Match the Shares with Users," that is, say which users save files or read from which shares.
  
 +
Actually accessing your shares is the last step.
  
=This page is kept for historic purposes only=
+
== Step 1: Create Users ==
 +
* Click on the Users Tab
 +
* At the bottom of the page click the "New User"
 +
* Enter the information for the new user and click the "Create" button
  
 +
You can always edit a user by clicking on their row in the Users table.
  
 +
== Step 2: Create Shares ==
 +
* Click on the Shares Tab
 +
:'''NOTE:''' By default, the system creates some common shares when it is installed (Books, Docs, Music, Pictures)
 +
* At the bottom of the page click "New Share"
 +
** '''Share Name'' is the name that you will see to access the share
 +
** '''Path Name''' is actually where the files will be stored (no need to change this manually unless you are 'hacking')
 +
** '''Visible''' indicates if users can see the share (if not checked the share is hidden)
 +
** '''Read Only'' means that users cannot save things in the share
 +
* Click the "Create" to create the share
  
 +
== Step 3: Match Shares with Users ==
 +
* Click on the share you want to match with users (I will use the Docs share for this example)
 +
* Visible defines if the share can be seen (without users having to manually enter its name)
 +
* By default the share is accessible by all users - I want it to be accessible to just one user. I uncheck the "All Users" check box. Now I can see the access rules for each user on the HDA.
  
----
 
  
 +
[[File:SS1-Shares.PNG|750px]]
 +
* Simply mark the "Access" column next to each user you want to be able to access the share
 +
* Mark the "Write" column for those user you want to be able to save files in the share.
  
 
+
== Accessing your Shares ==
 
+
=== Windows ===
=This page is kept for historic purposes only=
 
 
 
 
 
 
 
 
 
----
 
 
 
 
 
 
 
All file sharing functionality in the Amahi HDA is now managed through the web browser interface found at http://setup
 
 
 
 
 
 
 
----
 
 
 
 
Your HDA shares files on your local network. Access to the shared files is through the share  <code><nowiki>\\hda</nowiki></code>.
 
Your HDA shares files on your local network. Access to the shared files is through the share  <code><nowiki>\\hda</nowiki></code>.
  
 
Note that you have to input <code><nowiki>\\hda</nowiki></code> in the file browser or other places where files are requested, not in the Internet browser. This is what you should see when using the default settings and there are two users in the system:
 
Note that you have to input <code><nowiki>\\hda</nowiki></code> in the file browser or other places where files are requested, not in the Internet browser. This is what you should see when using the default settings and there are two users in the system:
  
[[Image:file-sharing.png|frameless]]
+
[[File:file-sharing.png|600]]
 
 
= Initial Install =
 
 
 
 
 
While we build a new facility to manage shares, we ask that you configure file sharing (otherwise known as SAMBA) via the Fedora SAMBA configuration utility, which is a desktop utility. It's available at the desktop under the '''System''' menu, '''Administration''' option, '''Samba''' setting.
 
 
 
The following are '''critical things''' to do to make it work:
 
 
 
* create a Linux user for each user you want to access the shares
 
* create a SAMBA user '''for each user''' you want to access the shares.
 
* associate one with the other in the SAMBA config tool
 
* enable '''Share''' as Authentication Mode in the Server Settings -> Security tab.
 
 
 
= Default Shares (Shared Folders) =
 
 
 
By default your HDA comes with the following shares preinstalled: pictures, music, movies, files and books, in addition to one share per user "home directory" and a printers and faxes directory.
 
 
 
= Managing User Permissions and Shares =
 
 
 
User and share administration is performed (for the time being) directly using the Samba Server Configuration panel in Fedora. (In the future this functionality will be controlled through the setup area in your HDA.)
 
 
 
To get there, you have to be at the desktop of your HDA (either directly or through [[VNC]]), and go to System -> Administration -> Samba. Note: it may be under System -> Administration -> Samba, if you have more server services installed.
 
 
 
Here is what it looks like in my case.
 
 
 
[[Image:samba-setup.png|frameless]]
 
 
 
You can then configure your shares directly and configure the samba users
 
 
 
Tips:
 
 
 
* Samba users are separate from Linux users (System -> Administration -> Users and Groups)
 
* However, each samba user must be mapped into a Linux user
 
* Standard Linux permissions apply to samba users, except that samba can restrict for read-only and/or visibility of a share.
 
* You may have to create user groups under  Linux to manage shared spaces.
 
 
 
= Server Settings =
 
 
 
After all users are configured, then go to Preferences -> Server Settings.
 
  
In it go to the Security tab. In the Authentication Mode selector, select '''Share'''. Make sure Encrypted Passwords is yes. Your Guest Account may be your main user, though I believe it is not necessary.
+
Also see [[Map Shares in Windows]] for assigning shares as network drives.
  
 +
=== Mac OSX ===
 +
Refer to [[SharingToMacOSX|sharing to Mac OSX]] page for details.
  
[[Category: Services]]
+
=== Linux ===
 +
See the [[SharingToLinux|sharing to Linux]] page for more information.

Latest revision as of 00:59, 25 October 2018

All file sharing functionality in the Amahi HDA is now managed through the web browser interface found at http://setup

The first step is to create "users" who will be accessing the file shares. For example, one user for the wife and one for each of the kids.

The second step is to create the shares (another term for filing folders) to put the files.

The third step is to "Match the Shares with Users," that is, say which users save files or read from which shares.

Actually accessing your shares is the last step.

Step 1: Create Users

  • Click on the Users Tab
  • At the bottom of the page click the "New User"
  • Enter the information for the new user and click the "Create" button

You can always edit a user by clicking on their row in the Users table.

Step 2: Create Shares

  • Click on the Shares Tab
NOTE: By default, the system creates some common shares when it is installed (Books, Docs, Music, Pictures)
  • At the bottom of the page click "New Share"
    • 'Share Name is the name that you will see to access the share
    • Path Name is actually where the files will be stored (no need to change this manually unless you are 'hacking')
    • Visible indicates if users can see the share (if not checked the share is hidden)
    • 'Read Only means that users cannot save things in the share
  • Click the "Create" to create the share

Step 3: Match Shares with Users

  • Click on the share you want to match with users (I will use the Docs share for this example)
  • Visible defines if the share can be seen (without users having to manually enter its name)
  • By default the share is accessible by all users - I want it to be accessible to just one user. I uncheck the "All Users" check box. Now I can see the access rules for each user on the HDA.


SS1-Shares.PNG

  • Simply mark the "Access" column next to each user you want to be able to access the share
  • Mark the "Write" column for those user you want to be able to save files in the share.

Accessing your Shares

Windows

Your HDA shares files on your local network. Access to the shared files is through the share \\hda.

Note that you have to input \\hda in the file browser or other places where files are requested, not in the Internet browser. This is what you should see when using the default settings and there are two users in the system:

600

Also see Map Shares in Windows for assigning shares as network drives.

Mac OSX

Refer to sharing to Mac OSX page for details.

Linux

See the sharing to Linux page for more information.