View previous topic :: View next topic |
Author |
Message |
humbletech99 Veteran
Joined: 26 May 2005 Posts: 1229 Location: London
|
Posted: Tue Dec 05, 2006 12:29 pm Post subject: Can't access mount point after mounting W2K3 Svr share |
|
|
I've successfully mounted a share from a Windows 2003 server as root but then am unable to even list the directory as root.
Code: | # mount -t smbfs //server/share /mnt/temp -o username="domain\administrator"
password:
# ll /mnt/
ls: temp: permission denied
total 40
drwx------ 2 root root 4096 Feb 14 2006 floppy/
...
|
Why is it not even letting me list /mnt/. The dir should have been mounted with my credentials. I have tried uid=root and user=root in the option list without luck.
Anybody able to explain this behaviour? _________________ The Human Equation:
value(geeks) > value(mundanes) |
|
Back to top |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Tue Dec 05, 2006 2:30 pm Post subject: |
|
|
Are you saying that if you unmount your /mnt/temp dir then you can successfully list /mnt/* ? |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3942 Location: Hamburg
|
Posted: Tue Dec 05, 2006 2:43 pm Post subject: |
|
|
BTW, try using a '/' instead of a '\' in Code: | username="domain\administrator" |
|
|
Back to top |
|
|
humbletech99 Veteran
Joined: 26 May 2005 Posts: 1229 Location: London
|
Posted: Tue Dec 05, 2006 3:41 pm Post subject: |
|
|
xoomix wrote: | Are you saying that if you unmount your /mnt/temp dir then you can successfully list /mnt/* ? |
yes
toralf wrote: | BTW, try using a '/' instead of a '\' in Code: | username="domain\administrator" |
|
this does the same thing. The share mounts without error and appears in proc mounts as well but I still can't access the directory, even as root. _________________ The Human Equation:
value(geeks) > value(mundanes) |
|
Back to top |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Tue Dec 05, 2006 3:43 pm Post subject: |
|
|
What does the output of 'mount' show you? |
|
Back to top |
|
|
humbletech99 Veteran
Joined: 26 May 2005 Posts: 1229 Location: London
|
Posted: Tue Dec 05, 2006 3:45 pm Post subject: |
|
|
it shows the share mounted at the mount point in /mnt _________________ The Human Equation:
value(geeks) > value(mundanes) |
|
Back to top |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Tue Dec 05, 2006 3:46 pm Post subject: |
|
|
Ok, mine looks like this:
/dev/hda3 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hda1 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
Can we see yours like that with all the permissions, allowable actions, etc. ? |
|
Back to top |
|
|
humbletech99 Veteran
Joined: 26 May 2005 Posts: 1229 Location: London
|
Posted: Tue Dec 05, 2006 3:48 pm Post subject: |
|
|
ok
Code: | /dev/sda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/sda4 on /mnt/storage type ext3 (rw,noatime)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sda1 on /boot type ext3 (rw,noatime)
/dev/sdb1 on /mnt/raid type ext3 (rw,noexec,nosuid,nodev)
/dev/sdc1 on /mnt/huge1 type ext3 (rw,noexec,nosuid,nodev,noatime)
/dev/sdd1 on /mnt/huge2 type ext3 (rw,noexec,nosuid,nodev,noatime)
//server/pub on /mnt/server type smbfs (0) |
_________________ The Human Equation:
value(geeks) > value(mundanes) |
|
Back to top |
|
|
3pm n00b
Joined: 03 Nov 2004 Posts: 64
|
Posted: Mon Jan 15, 2007 10:00 am Post subject: |
|
|
Any sollution?
I have the same problem.
EDIT: rebooted win2003 and everythink works now. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|