473,549 Members | 2,628 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Trying to mount windows folder on Linux - getting error

365 Contributor
Trying to mount windows folder on Linux machine, getting this error. I have a folder called "CheckIn" on windows, I made that folder as Network sharing.
ON lInux, I tried to access that folder by mounting, getting error "Could not resolve mount point".

# mkdir /mnt/winstuff
# smbmount \\windows-machine-ip-addr\CheckIn
Could not resolve mount point
# ps -eaf | grep smb
root 27420 1 0 Dec03 ? 00:00:00 smbd -D
root 32063 30395 0 10:27 pts/6 00:00:00 grep smb
#
Dec 4 '09 #1
12 6802
tvnaidu
365 Contributor
Finally mounted, I was not pass username/password earlier, now I can access folder, but if I tried to go inside folder, getting "permission denied"

$ mount -t smbfs -o username=xyz,pa ssword=xyzp //win-ip-addr/main_folder /mnt/winstuff/
$ cd /mnt/winstuff/
$ ls
main_folder
$ cd main_folder
$
$ ls -l
ls: reading directory .: Permission denied
total 0
$
Dec 4 '09 #2
tvnaidu
365 Contributor
tried to munt cifs type instead smbfs, but kernel doesnot support cifs type.
Dec 4 '09 #3
AmberJain
884 Recognized Expert Contributor
Finally mounted, I was not pass username/password earlier, now I can access folder, but if I tried to go inside folder, getting "permission denied"

$ mount -t smbfs -o username=xyz,pa ssword=xyzp //win-ip-addr/main_folder /mnt/winstuff/
$ cd /mnt/winstuff/
$ ls
main_folder
$ cd main_folder
$
$ ls -l
ls: reading directory .: Permission denied
total 0
$
You need to give the user read privileges for main_folder. Try changing permissions using chmod.
Dec 9 '09 #4
tvnaidu
365 Contributor
Thanks, on windows side, I changed permission, still I am getting this error
Dec 9 '09 #5
tvnaidu
365 Contributor
also I changed using chmod on Linux for main_folder, once I go inside, I can't see anything
Dec 9 '09 #6
AmberJain
884 Recognized Expert Contributor
I misread one of your previous post. Try using chmod to change permissions on main_folder with -R (recursive) option.
Dec 9 '09 #7
AmberJain
884 Recognized Expert Contributor
Alternatively, when you are inside main_folder, use chmod with -R on all files using * wildcard.
Dec 9 '09 #8
tvnaidu
365 Contributor
I did with -R option, no luck, I am getting "permission denied", also I added ,rw,exec,umask= 000, still samething

mount -t smbfs -o username=xyz,pa ssword=xyzp,rw, exec,umask=000 //win-ip-addr/main_folder /mnt/winstuff/
Dec 9 '09 #9
AmberJain
884 Recognized Expert Contributor
What happens when you do:
Expand|Select|Wrap|Line Numbers
  1. sudo ls -al
inside main_folder.


Also, goto parent directory of main_folder, and from terminal:
Expand|Select|Wrap|Line Numbers
  1. sudo ls -l
and paste here the line that corresponds to main_folder.
Dec 9 '09 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

4
12442
by: Luca T. | last post by:
Hello, i need a way to find the home folder of the current user no matter if i am in Linux or Windows for instance: * Linux: /home/username * Windows: C:\Documents and Settings\username Is there any general way to do this?
5
2135
by: tshad | last post by:
I am trying to access my log files and am running into a permissions problem. I am doing the following: ****************************************************************** private void PopulateSiteBox() { drpSiteBox.Items.Clear(); string FILE_PATH = @"\\" +txtMachine.Text +
5
3612
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As New System.Diagnostics.Process 'p.Start(MDEPDirStr & "macrun.exe", sPPTOut) p.Start("C:\WINDOWS\SYSTEM32\CALC.EXE")...
18
5056
by: pankajit09 | last post by:
Hello , I want to mount Windows in Debian Linux so that I can use Wine. Please tell me how to do ?
2
1649
by: GNoter | last post by:
We've a Windows 2003 server; 2 of them in a webfarm (network load balanced, or NLBs). We have a 3rd server which has an Access database to which the NLBs need access to. Is there any way to "mount" a shared folder on the 3rd server (\\Server3\MSAccess\) as a specific lettered drive when the sever starts up (vs having to log on)? Also, how...
3
4030
by: tguclu | last post by:
Hi there, I hope this is the right place for my question if not please accept my apologies. In my application I want to mount/umount file system. From GNU C Library Reference Manual, for Version 2.3.x.
34
3643
by: Anthony Irwin | last post by:
Hi All, I am currently trying to decide between using python or java and have a few quick questions about python that you may be able to help with. #1 Does python have something like javas .jar packages. A jar file contains all the program files and you can execute the program with java -jar program.jar I am sort of hoping python has...
5
2455
by: John Ladasky | last post by:
Hi folks, Running Python 2.5 on both a Windows XP laptop, and an Ubuntu Linux 7.04 desktop. I've gotten tired of maintaining multiple copies of my personal modules that I use over and over. I have copies of these files in the same directory as the main program I happen to be working on at the time. I've also downloaded FANN, and want...
1
27761
Nepomuk
by: Nepomuk | last post by:
In most modern distributions of Linux and Unix (at least ones with graphical environments like KDE, Gnome or XFCE), you get to mount your partitions easily from the desktop. In some cases however, it isn't that easy. Note, that all of these commands have to be run in a terminal as root user. To open a terminal (sometimes called a console),...
0
7541
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7734
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7979
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6065
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5385
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3512
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1960
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1074
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
781
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.