Re: [opensuse] Permission denied when mounting CIFS filesystem
- From: Josef Wolf <jw@xxxxxxxxxxxxx>
- Date: Fri, 4 Feb 2011 16:55:45 +0100
On Fri, Feb 04, 2011 at 10:40:45AM +0100, Josef Wolf wrote:
Hello all,
With opensuse-11.3, I can't mount CIFS filesystems anymore:
kiste:/ # mount -t cifs -o domain=wgrp,user=myself '//server.com/MYSELF$' /net/h
Password:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
This worked fine with opensuse-11.2. The problem must be with mount() system
call, since I can access the share with smbclient without any problems:
kiste:/ # smbclient -Wwgrp -Umyself '//server.com/MYSELF$'
Enter myself's password:
Domain=[WGRP] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \> exit
I've checked the permissions of the mount point, and everything looks fine.
Any hints why I am getting "permission denied" although I try to mount as root?
OK, I come closer. Turns out that the mount point needs to be either owned by
root or have the public-searchable mode bit set. If owner is not root, mode
must be at least 711. Mode 700 will not work.
This is strange, since root should be able to mount even if the mount point
is owned by some other user.
When mounting local filesystems, I don't see such a strange behavior as with
this CIFS mount.
Anybody agrees with me that this is a bug?
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] Permission denied when mounting CIFS filesystem
- From: Josef Wolf
- [opensuse] Permission denied when mounting CIFS filesystem
- Prev by Date: Re: [opensuse] Re: Problem with activities on KDE4.4 / OS11.3
- Next by Date: Re: [opensuse] YAST print manager: how to add driver to printer?
- Previous by thread: [opensuse] Permission denied when mounting CIFS filesystem
- Next by thread: Re: [opensuse] How to install behind a proxy?
- Index(es):
Relevant Pages
|