Networking Forums

Networking Forums > Computer Networking > Linux Networking > cant Access WinXP shares

Reply
Thread Tools Display Modes

cant Access WinXP shares

 
 
p cooper
Guest
Posts: n/a

 
      10-15-2005, 11:53 AM
client =WinXP Home
I want to mount ( for backup purposes) the C:\ drive ( which is shared as
read/write)

and then, all done as root

mount -t cifs //data/data /mnt/data
mounts the computer 'data' on /mnt/data

grenada mnt # mount |grep data
//data/data on /mnt/data type cifs (rw,mand)
grenada mnt # ls -la /mnt |grep data
drwxrwxrwx 1 root root 0 Oct 15 11:59 data
grenada mnt #

and i can look at the folders

grenada mnt # ls -la /mnt/data
total 2637897
-rwxrwSrwt 1 root root 0 Aug 26 18:25 AUTOEXEC.BAT
-r-xr-Sr-t 1 root root 4729242 Oct 15 08:12 AVG7DB_F.DAT
-rwxrwSrwt 1 root root 12285297 Aug 28 08:00 AVG7QT.DAT
-rwxrwSrwt 1 root root 0 Aug 26 18:25 CONFIG.SYS
drwxrwxrwx 1 root root 0 Aug 27 19:30 Documents and Settings
drwxrwxrwx 1 root root 0 Sep 9 17:59 EPSCAN2
-r-xr-Sr-t 1 root root 0 Aug 26 18:25 IO.SYS
-r-xr-Sr-t 1 root root 0 Aug 26 18:25 MSDOS.SYS
-r-xr-Sr-t 1 root root 47564 Aug 4 2004 NTDETECT.COM
drwxrwxrwx 1 root root 0 Sep 2 13:00 PMAIL
drwxrwxrwx 1 root root 0 Sep 18 08:58 Program Files
drwxrwxrwx 1 root root 0 Aug 26 18:51 RECYCLER
drwxrwxrwx 1 root root 0 Sep 4 22:35 Registrations
drwxrwxrwx 1 root root 0 Aug 26 18:27 System Volume Information
drwxrwxrwx 1 root root 0 Sep 23 13:05 WINDOWS
-rwxrwSrwt 1 root root 211 Aug 26 18:19 boot.ini
-rwxrwSrwt 1 root root 1073270784 Oct 12 17:10 hiberfil.sys
-r-xr-Sr-t 1 root root 250032 Aug 4 2004 ntldr
-rwxrwSrwt 1 root root 1610612736 Oct 12 17:10 pagefile.sys
grenada mnt #

but I cant access some of the stuff
grenada mnt # ls -la /mnt/data/WINDOWS
ls: reading directory /mnt/data/WINDOWS: Permission denied
total 0
grenada mnt #

but i can access (and backup) some of the folders
grenada mnt # ls -la /mnt/data/PMAIL |more
total 8143
drwxrwxrwx 1 root root 0 Sep 2 13:00 .
drwxrwxrwx 1 root root 0 Oct 15 11:59 ..
drwxrwxrwx 1 root root 0 Aug 31 22:30 DEFAULTS
drwxrwxrwx 1 root root 0 Oct 15 11:29 MAIL
-rwxrwSrwt 1 root root 512 Aug 31 22:30 PMAIL.CFG
drwxrwxrwx 1 root root 0 Aug 31 22:42 RESOURCE
-rwxrwSrwt 1 root root 20928 Oct 6 11:50 WINPM-32.GID
-rwxrwSrwt 1 root root 1689 Aug 31 22:42 WPMSETUP.LOG
-rwxrwSrwt 1 root root 20675 Aug 31 22:30 autorplc.pm

and for other folders
Grenada mnt # ls -la /mnt/data/Documents\ and\ Settings/
total 0
drwxrwxrwx 1 root root 0 Aug 27 19:30 .
drwxrwxrwx 1 root root 0 Oct 15 11:59 ..
drwxrwxrwx 1 root root 0 Aug 27 19:30 Administrator
drwxrwxrwx 1 root root 0 Aug 30 11:58 All Users
drwxrwxrwx 1 root root 0 Aug 26 18:29 Default User
drwxrwxrwx 1 root root 0 Oct 15 11:29 Jane
drwxrwxrwx 1 root root 0 Aug 26 18:42 LocalService
drwxrwxrwx 1 root root 0 Aug 26 18:42 NetworkService
grenada mnt # ls -la /mnt/data/Documents\ and\ Settings/Jane/
ls: reading directory /mnt/data/Documents and Settings/Jane/: Permission
denied
total 0
grenada mnt # ments\ and\ Settings/
total 0
drwxrwxrwx 1 root root 0 Aug 27 19:30 .
drwxrwxrwx 1 root root 0 Oct 15 11:59 ..
drwxrwxrwx 1 root root 0 Aug 27 19:30 Administrator
drwxrwxrwx 1 root root 0 Aug 30 11:58 All Users
drwxrwxrwx 1 root root 0 Aug 26 18:29 Default User
drwxrwxrwx 1 root root 0 Oct 15 11:29 Jane
drwxrwxrwx 1 root root 0 Aug 26 18:42 LocalService
drwxrwxrwx 1 root root 0 Aug 26 18:42 NetworkService

and then going down the folder tree

grenada mnt # ls -la /mnt/data/Documents\ and\ Settings/Jane/
ls: reading directory /mnt/data/Documents and Settings/Jane/: Permission
denied
total 0
grenada mnt #


anyone know how I can access
 
Reply With Quote
 
 
 
 
Antoine EMERIT
Guest
Posts: n/a

 
      10-15-2005, 07:36 PM
p cooper <pdconetwofour_numbers_@yahoo.co.uk> écrivait
news:M464f.129541$(E-Mail Removed) .uk:

> but I cant access some of the stuff
> grenada mnt # ls -la /mnt/data/WINDOWS
> ls: reading directory /mnt/data/WINDOWS: Permission denied
> total 0


> grenada mnt # ls -la /mnt/data/Documents\ and\ Settings/Jane/
> ls: reading directory /mnt/data/Documents and Settings/Jane/:
> Permission denied
> total 0


That's logical, when you mount a CIFS share you identified yourself as a
user, and by default this is you unix login ("root" here). But as "root"
is unknown you are identifed to the guest user.

Now, the C:\Windows is, by default, only accessible by the
"Administrator" user, and C:\Documents and Settings\Jane is only
accessible by the user "Jane".

Two choice:

- modify the security settings on the share (right click on the dir ->
Settings)
- mount the share using another username :
ls -la /mnt/data/Documents\ and\ Settings/Jane/ -o usernam=Jane
ls -la /mnt/data/Documents\ and\ Settings/Jane/ -o
usernam=Administrator


Regards



 
Reply With Quote
 
p cooper
Guest
Posts: n/a

 
      10-18-2005, 06:05 PM
by specifically sharing the folder 'Jane' I can mount it andcopy the stuff
OK

In WinXP I cant specifically share the C:\WINDOWS folder ( the apply button
is greyed out)
Looks like they dont want me to back up my windwos folder

If seaparate I can do it with dd but thats not really on for regular backups

rant about the Evil Empire follows

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed up access to shares? Mikey Windows Networking 2 02-01-2008 07:13 PM
Cannot access shares on R2 from XP Workstations Bobson Windows Networking 3 10-27-2007 08:45 AM
vpn can't access shares jeff Windows Networking 7 01-22-2007 04:17 AM
Access local shares when DC is down ACutsumbis@gmail.com Windows Networking 7 06-14-2006 12:14 PM
SMB shares with Linspire / WinXP permissions stefanj Linux Networking 1 03-09-2005 10:55 PM



1 2 3 4 5 6 7 8 9 10 11