Being able to make shares on your network drive is a way to allow many different users to view and interact with a directory that is not their own.
This guide will help you create shares and change permissions on Windows, and create shortcuts to those shares with Linux.
For all Linux tutorials, MobaXterm will be used as the Linux Terminal. This section will also assume you have general knowledge of the Linux command-line.
If you are sharing a file/folder with someone else, read section "Making a Share". If there is a file/folder that has been shared with you and you would like to access it, read section "Create a Shortcut".
To share a folder with another user on the SECS network, you must use Windows.
Before you begin, have the following information ready:
afake5; afake6
).Windows Pro Tip: Know some of the username but not the entire name? Entering part of a username will still auto-fill. If more than one user have the same partial information entered, a new window will open showing all the users matching the information provided.
Now, the share has been made. Now, direct those users who you created the share for to the section of this tutorial, Create a Shortcut.
When a share with a user is created, they now have some control over what is being shared. For example, a user is given share rights to do whatever they want with a file/folder on another user's SECS Network Drive. However, they don't want to have to navigate to that share every time they want to access it. Making a link to the share is the perfect solution. The only way to do this is through Linux:
First you need to SSH to one of our general purpose Linux servers. Use server name "beatles" to automatically connect to any one. On successful connection, the default directory you land in is your SECS Network Drive.
Before you begin, you will need the following information:
ls
' is performed to confirm the current directory is the root of the SECS Network Drive. This is where the share will be linked to.ls
$FIRST_LETTER = "First initial of sharer's username"
$USERNAME = "Username of sharer"
$SHARENAME = "Name of the share"
$DESTINATION= "Where the shortcut will be made"
ln -s /SECS/home/$FIRST_LETTER/$USERNAME/$SHARENAME $DESTINATION
In the example, the user that had the share on their drive was afake. The share name was shareTest. Since the share will be created in the current directory,
./
is used to specify that. If the share was to go into a different directory, the path would be in place instead. Specifying a directory that is not there causes a directory to be created.
ls -l
', the share and where it is linked to is shown in the SECS Network Drive. In MobaXterm, linked folders/files are a light blue color.ls -l
It is also visible in Windows within the SECS Network Drive!
CTO Resources Page
Collection of CTO information and documents.
Microsoft Permissions
Information about Microsoft Windows permissions. Linked above.
Linux Commands
List of common and important Linux commands for the command-line.
ln Command Help
In-depth article on the 'ln
' command.
MobaXterm CTO Guide
CTO's guide on using MobaXterm and connecting to the SECS Linux servers. Linked above.