Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[update] Mount an SMB Share in Linux #7159

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Conversation

Rajakavitha1
Copy link
Collaborator

fixed the command after validating
fixes: #7155

fixed the command after validating
@Rajakavitha1
Copy link
Collaborator Author

Tested and validated after installing the server and client

rajie@client:~$ ls -l /mnt
total 4
drwxr-xr-x 2 root root 4096 Dec  5 20:22 smb_share
rajie@client:~$ mount -t cifs //172.232.111.144/sambashare -o username-rajie /mnt
mount.cifs: permission denied: no match for /mnt found in /etc/fstab
rajie@client:~$ mount -t cifs //172.232.111.144/sambashare -o username=rajie /mnt/remote
Couldn't chdir to /mnt/remote: No such file or directory
rajie@client:~$ mkdir /mnt/remote
mkdir: cannot create directory ‘/mnt/remote’: Permission denied
rajie@client:~$ sudo mkdir /mnt/remote
rajie@client:~$ mount -t cifs //172.232.111.144/sambashare -o username=rajie /mnt/remote
mount.cifs: permission denied: no match for /mnt/remote found in /etc/fstab
rajie@client:~$ sudo mount -t cifs //172.232.111.144/sambashare -o username=rajie /mnt/remote
Password for rajie@//172.232.111.144/sambashare: 
rajie@client:~$ nano ~/.credentials
rajie@client:~$ sudo chown rajie:.credentials
chown: missing operand after ‘rajie:.credentials’
Try 'chown --help' for more information.
rajie@client:~$ sudo chown rajie:credentials
chown: missing operand after ‘rajie:credentials’
Try 'chown --help' for more information.
rajie@client:~$ sudo chown rajie:sudo credentials
chown: cannot access 'credentials': No such file or directory
rajie@client:~$ sudo chown rajie:sudo .credentials
rajie@client:~$ 

Copy link

netlify bot commented Dec 5, 2024

Deploy Preview for nostalgic-ptolemy-b01ab8 ready!

Name Link
🔨 Latest commit 88dcb2f
🔍 Latest deploy log https://app.netlify.com/sites/nostalgic-ptolemy-b01ab8/deploys/6751c5b4fe71cb00085fc80a
😎 Deploy Preview https://deploy-preview-7159--nostalgic-ptolemy-b01ab8.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jddocs jddocs added the Ready label Dec 5, 2024
@jddocs jddocs merged commit 3264393 into develop Dec 5, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mount an SMB Share in Linux Proposed Changes
2 participants