Skip to content

Commit 3264393

Browse files
authored
[update] Mount an SMB Share in Linux (#7159)
fixed the command after validating
1 parent 112e293 commit 3264393

File tree

1 file changed

+2
-2
lines changed
  • docs/guides/quick-answers/linux/linux-mount-smb-share

1 file changed

+2
-2
lines changed

docs/guides/quick-answers/linux/linux-mount-smb-share/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ You don’t want to have to type in your credentials every time you access a sha
161161
1. Set ownership of the credentials file to the current user by running the following command:
162162
163163
```command
164-
sudo chown <User Name>:<Credentials Filename>
164+
sudo chown <User Name[:Group Name]> <Credentials Filename>
165165
```
166166
167167
Replace `<User Name>` with your username and `<Credentials Filename>` with the name of your credentials file.
@@ -223,4 +223,4 @@ The share should not appear in the output of this command.
223223
224224
## Conclusion
225225
226-
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.
226+
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 commit comments

Comments
 (0)