Skip to content

Commit

Permalink
[update] Mount an SMB Share in Linux
Browse files Browse the repository at this point in the history
fixed the command after validating
  • Loading branch information
Rajakavitha1 authored Dec 5, 2024
1 parent 62bcb77 commit 88dcb2f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ You don’t want to have to type in your credentials every time you access a sha
1. Set ownership of the credentials file to the current user by running the following command:
```command
sudo chown <User Name>:<Credentials Filename>
sudo chown <User Name[:Group Name]> <Credentials Filename>
```
Replace `<User Name>` with your username and `<Credentials Filename>` with the name of your credentials file.
Expand Down Expand Up @@ -223,4 +223,4 @@ The share should not appear in the output of this command.
## Conclusion
You now have an understanding of SMB (and CIFS), what an SMB share is, and what a mount point is. These pieces of information allow you to share remote data in a way that’s transparent to users. From the user's perspective, the resource is local to the server that they’re accessing. This guide also shows you how to use the mount and umount commands in a basic way to create and delete shares, how to create and use a credentials file to automate the sharing process to some extent, and how to automatically remount the share after a reboot.
You now have an understanding of SMB (and CIFS), what an SMB share is, and what a mount point is. These pieces of information allow you to share remote data in a way that’s transparent to users. From the user's perspective, the resource is local to the server that they’re accessing. This guide also shows you how to use the mount and umount commands in a basic way to create and delete shares, how to create and use a credentials file to automate the sharing process to some extent, and how to automatically remount the share after a reboot.

0 comments on commit 88dcb2f

Please sign in to comment.