LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-27-2005, 03:26 PM   #1
Sarolearthy
LQ Newbie
 
Registered: Sep 2005
Posts: 10

Rep: Reputation: 0
Mounting Linux to Windows XP


Alright I am mounting a windows XP hardrive over a network to my linux server so that it can be backed up along with our other linux server. Unfortunatly I do not have full rights to said computer when trying to back it up. This is the command I use to mount it, some information has been removed. I do use the proper username and password for the computer.


mount -t smbfs -o username=USERNAME,password=PASSWORD,workgroup=WORKGROUP //computername/C /home/computername


The mount suceeds and while investigating why I wasnt getting all the files I went to certain directories such as the my documents directory at C/Documents and Settings/username and when I try to view the file I get this

ls: reading directory .: Permission denied

Any help would be appriated.

Sam
 
Old 09-27-2005, 03:54 PM   #2
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
Do you have permissions to read the directory?
 
Old 09-27-2005, 04:02 PM   #3
Sarolearthy
LQ Newbie
 
Registered: Sep 2005
Posts: 10

Original Poster
Rep: Reputation: 0
well I would assume so, the username and password i'm using is the appropriate name for the owner of the directory, in this case the directory home is Mark, and the username being entered is Mark with his appropriate password. I'm just unsure if any kind of windows option needs to be set on the windows machine to give me rights to it. Or is it generally that if you enter the username and password correctly you get full permissions and perhaps I have them incorrectly entered.


Sam
 
Old 09-27-2005, 08:55 PM   #4
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
Well, on Windows you have to share the directory to be able to access it via SAMBA so what happens is that there are two layers of security on Windows. There is a share level security box and the NTFS security level. You must have proper permissions at both levels because the effective permission when you combine share level security with NTFS security is the MOST RESTRICTIVE of the two. In plain English, this means that the user may have proper NTFS permissions on the home directory and can access it when on the local machine BUT they do not have access according to the share permissions which means no remote access is allowed.
 
Old 09-27-2005, 11:24 PM   #5
Sabicas
Member
 
Registered: Aug 2004
Distribution: Slackware 10
Posts: 110

Rep: Reputation: 15
What about the default "hidden" administrative share, have you read anything on that? I know Windows 2003 share's the entire C:\ drive by default, I'm not sure about other version's though. I know I didn't have any permission problems while "browsing" the administrative share on my mate's machine , ya gotta love Windows.

Just found this, haven't read real deep into it but it might help.

http://www.wellesley.edu/Computing/F...acstaff2k.html

Last edited by Sabicas; 09-27-2005 at 11:27 PM.
 
Old 09-28-2005, 11:00 AM   #6
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
Accessing the Administrative share requires Admin access to the system. He has stated that he doesn't Admin access on the machine.
 
Old 09-28-2005, 01:41 PM   #7
Sarolearthy
LQ Newbie
 
Registered: Sep 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Well alittle update on my problem, I think we figured it all out, but we'd like to find another way if possible.


Currently he's sharing the C drive, which gives access to everything but the program files, windows and docuements and settings area's of his computer, if he also shares his my documents folder we get the information we need but he opens it to everyone on the network. So we are looking for a way to get open access to those files without opening them to other people on the network. There is a way to do it on XP professional, but not XP home edition. It involves simple file sharing and access parameters. So basically we're looking for a way to set access rites to said files without having to get professional. But it doesnt look possible.


Sam
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting windows in linux paul62 Debian 3 11-05-2005 07:00 AM
mounting windows partition in linux prince_linux Red Hat 1 10-20-2005 03:16 AM
Mounting Linux drive from Windows 9nine9 Linux - General 4 12-28-2004 12:18 PM
mounting linux folder on windows ZaphyR Linux - Networking 5 07-16-2004 04:18 PM
Mounting Linux partition in Windows? hitesh_linux Linux - General 7 10-29-2002 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration