Ubuntu can't mount windows share
up vote
2
down vote
favorite
I want to access by termin a Windows share so on my Ubuntu 14.04 system I executed the following command:
sudo mount.cifs -o username=dana //192.168.1.4/Users /mnt/
After entering the sudo password and the windwos user password I got these error
mount error(13): Permission denied Refer to the mount.cifs(8) manual
page (e.g. man mount.cifs)
linux windows ubuntu mount shared-folders
add a comment |
up vote
2
down vote
favorite
I want to access by termin a Windows share so on my Ubuntu 14.04 system I executed the following command:
sudo mount.cifs -o username=dana //192.168.1.4/Users /mnt/
After entering the sudo password and the windwos user password I got these error
mount error(13): Permission denied Refer to the mount.cifs(8) manual
page (e.g. man mount.cifs)
linux windows ubuntu mount shared-folders
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I want to access by termin a Windows share so on my Ubuntu 14.04 system I executed the following command:
sudo mount.cifs -o username=dana //192.168.1.4/Users /mnt/
After entering the sudo password and the windwos user password I got these error
mount error(13): Permission denied Refer to the mount.cifs(8) manual
page (e.g. man mount.cifs)
linux windows ubuntu mount shared-folders
I want to access by termin a Windows share so on my Ubuntu 14.04 system I executed the following command:
sudo mount.cifs -o username=dana //192.168.1.4/Users /mnt/
After entering the sudo password and the windwos user password I got these error
mount error(13): Permission denied Refer to the mount.cifs(8) manual
page (e.g. man mount.cifs)
linux windows ubuntu mount shared-folders
linux windows ubuntu mount shared-folders
asked Jun 29 '14 at 13:21
Dan
3719
3719
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
up vote
1
down vote
Make sure your account has permissions to mount. Use smbclient
to try to access the drive - the smbclient command will give much more meaningful error messages why you cannot mount.
For example:
smbclient \machinenamefoldername -U [username] [password]
If it works, you will get an smb prompt like:
smb>
If not, you will get an error, such as NT_LOGON_FAILUIRE (password wrong) or if the login works but you do not have access on that folder, it will give you that error (which I can't recall off the top of my head)
Check here for info on smbclient and smbclient syntax:
Mounting Windows Shares On Linux Using Samba/CIFS/SMBFS
add a comment |
up vote
0
down vote
mount(8) - Linux man page
Return Codes
mount has the following return codes (the bits can be ORed):
0: success
1: incorrect invocation or permissions
2: system error (out of memory, cannot fork, no more loop devices)
4: internal mount bug
8: user interrupt
16: problems writing or locking /etc/mtab
32: mount failure
64: some mount succeeded
This suggest that you have generated 3 errors:
- user interrupt
- internal mount bug
- incorrect invocation or permissions
add a comment |
up vote
0
down vote
First thing always check if user has access to share and not only permissions to folder also use domain option and use -v to check debug messages.
add a comment |
up vote
0
down vote
use this for mounting Windows share to your local Linux machine:
sudo apt-get install cifs-utils
sudo mount -t cifs //hostname.your.windows.machine.hostname/Your_Share /home/user/shares/hostname/ -o vers=3.0,username=user,domain=hostname,uid=1000
Hope it's help.
add a comment |
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Make sure your account has permissions to mount. Use smbclient
to try to access the drive - the smbclient command will give much more meaningful error messages why you cannot mount.
For example:
smbclient \machinenamefoldername -U [username] [password]
If it works, you will get an smb prompt like:
smb>
If not, you will get an error, such as NT_LOGON_FAILUIRE (password wrong) or if the login works but you do not have access on that folder, it will give you that error (which I can't recall off the top of my head)
Check here for info on smbclient and smbclient syntax:
Mounting Windows Shares On Linux Using Samba/CIFS/SMBFS
add a comment |
up vote
1
down vote
Make sure your account has permissions to mount. Use smbclient
to try to access the drive - the smbclient command will give much more meaningful error messages why you cannot mount.
For example:
smbclient \machinenamefoldername -U [username] [password]
If it works, you will get an smb prompt like:
smb>
If not, you will get an error, such as NT_LOGON_FAILUIRE (password wrong) or if the login works but you do not have access on that folder, it will give you that error (which I can't recall off the top of my head)
Check here for info on smbclient and smbclient syntax:
Mounting Windows Shares On Linux Using Samba/CIFS/SMBFS
add a comment |
up vote
1
down vote
up vote
1
down vote
Make sure your account has permissions to mount. Use smbclient
to try to access the drive - the smbclient command will give much more meaningful error messages why you cannot mount.
For example:
smbclient \machinenamefoldername -U [username] [password]
If it works, you will get an smb prompt like:
smb>
If not, you will get an error, such as NT_LOGON_FAILUIRE (password wrong) or if the login works but you do not have access on that folder, it will give you that error (which I can't recall off the top of my head)
Check here for info on smbclient and smbclient syntax:
Mounting Windows Shares On Linux Using Samba/CIFS/SMBFS
Make sure your account has permissions to mount. Use smbclient
to try to access the drive - the smbclient command will give much more meaningful error messages why you cannot mount.
For example:
smbclient \machinenamefoldername -U [username] [password]
If it works, you will get an smb prompt like:
smb>
If not, you will get an error, such as NT_LOGON_FAILUIRE (password wrong) or if the login works but you do not have access on that folder, it will give you that error (which I can't recall off the top of my head)
Check here for info on smbclient and smbclient syntax:
Mounting Windows Shares On Linux Using Samba/CIFS/SMBFS
edited Nov 21 '16 at 7:01
3498DB
15.6k114762
15.6k114762
answered Jul 1 '14 at 17:21
ben
1585
1585
add a comment |
add a comment |
up vote
0
down vote
mount(8) - Linux man page
Return Codes
mount has the following return codes (the bits can be ORed):
0: success
1: incorrect invocation or permissions
2: system error (out of memory, cannot fork, no more loop devices)
4: internal mount bug
8: user interrupt
16: problems writing or locking /etc/mtab
32: mount failure
64: some mount succeeded
This suggest that you have generated 3 errors:
- user interrupt
- internal mount bug
- incorrect invocation or permissions
add a comment |
up vote
0
down vote
mount(8) - Linux man page
Return Codes
mount has the following return codes (the bits can be ORed):
0: success
1: incorrect invocation or permissions
2: system error (out of memory, cannot fork, no more loop devices)
4: internal mount bug
8: user interrupt
16: problems writing or locking /etc/mtab
32: mount failure
64: some mount succeeded
This suggest that you have generated 3 errors:
- user interrupt
- internal mount bug
- incorrect invocation or permissions
add a comment |
up vote
0
down vote
up vote
0
down vote
mount(8) - Linux man page
Return Codes
mount has the following return codes (the bits can be ORed):
0: success
1: incorrect invocation or permissions
2: system error (out of memory, cannot fork, no more loop devices)
4: internal mount bug
8: user interrupt
16: problems writing or locking /etc/mtab
32: mount failure
64: some mount succeeded
This suggest that you have generated 3 errors:
- user interrupt
- internal mount bug
- incorrect invocation or permissions
mount(8) - Linux man page
Return Codes
mount has the following return codes (the bits can be ORed):
0: success
1: incorrect invocation or permissions
2: system error (out of memory, cannot fork, no more loop devices)
4: internal mount bug
8: user interrupt
16: problems writing or locking /etc/mtab
32: mount failure
64: some mount succeeded
This suggest that you have generated 3 errors:
- user interrupt
- internal mount bug
- incorrect invocation or permissions
answered Jun 29 '14 at 13:55
LDC3
2,0121915
2,0121915
add a comment |
add a comment |
up vote
0
down vote
First thing always check if user has access to share and not only permissions to folder also use domain option and use -v to check debug messages.
add a comment |
up vote
0
down vote
First thing always check if user has access to share and not only permissions to folder also use domain option and use -v to check debug messages.
add a comment |
up vote
0
down vote
up vote
0
down vote
First thing always check if user has access to share and not only permissions to folder also use domain option and use -v to check debug messages.
First thing always check if user has access to share and not only permissions to folder also use domain option and use -v to check debug messages.
answered Jun 14 '16 at 8:41
synchris
485
485
add a comment |
add a comment |
up vote
0
down vote
use this for mounting Windows share to your local Linux machine:
sudo apt-get install cifs-utils
sudo mount -t cifs //hostname.your.windows.machine.hostname/Your_Share /home/user/shares/hostname/ -o vers=3.0,username=user,domain=hostname,uid=1000
Hope it's help.
add a comment |
up vote
0
down vote
use this for mounting Windows share to your local Linux machine:
sudo apt-get install cifs-utils
sudo mount -t cifs //hostname.your.windows.machine.hostname/Your_Share /home/user/shares/hostname/ -o vers=3.0,username=user,domain=hostname,uid=1000
Hope it's help.
add a comment |
up vote
0
down vote
up vote
0
down vote
use this for mounting Windows share to your local Linux machine:
sudo apt-get install cifs-utils
sudo mount -t cifs //hostname.your.windows.machine.hostname/Your_Share /home/user/shares/hostname/ -o vers=3.0,username=user,domain=hostname,uid=1000
Hope it's help.
use this for mounting Windows share to your local Linux machine:
sudo apt-get install cifs-utils
sudo mount -t cifs //hostname.your.windows.machine.hostname/Your_Share /home/user/shares/hostname/ -o vers=3.0,username=user,domain=hostname,uid=1000
Hope it's help.
answered Jun 24 '17 at 7:24
Vitalii Nesterenko
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f774753%2fubuntu-cant-mount-windows-share%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown