Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-27-2005, 03:26 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Posts: 10
Rep:
|
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
|
|
|
09-27-2005, 03:54 PM
|
#2
|
Member
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184
Rep:
|
Do you have permissions to read the directory?
|
|
|
09-27-2005, 04:02 PM
|
#3
|
LQ Newbie
Registered: Sep 2005
Posts: 10
Original Poster
Rep:
|
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
|
|
|
09-27-2005, 08:55 PM
|
#4
|
Member
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184
Rep:
|
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.
|
|
|
09-27-2005, 11:24 PM
|
#5
|
Member
Registered: Aug 2004
Distribution: Slackware 10
Posts: 110
Rep:
|
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.
|
|
|
09-28-2005, 11:00 AM
|
#6
|
Member
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184
Rep:
|
Accessing the Administrative share requires Admin access to the system. He has stated that he doesn't Admin access on the machine.
|
|
|
09-28-2005, 01:41 PM
|
#7
|
LQ Newbie
Registered: Sep 2005
Posts: 10
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|