Just a follow up incase someone else runs into this problem. It
turns out this was a bug in the cifs driver. I submitted a patch to
fix this.
http://marc.info/?l=linux-cifsm=131715894203568w=2
regards,
dan carpenter
--
To unsubscribe from this list go to the following URL and read the
I've found a solution which is to just chmod o-rwx the dictory so the
testuser doesn't have permission to open any files. That way it
can't open them with O_CREAT by mistake.
I'm still new at Samba but it seems to me like what happens is that:
1) I type touch asdf as testuser on the client.
2)
On Sat, Sep 24, 2011 at 05:04:50PM +0900, TAKAHASHI Motonobu wrote:
From: Dan Carpenter dan.carpen...@oracle.com
Date: Fri, 23 Sep 2011 09:38:56 +0300
I've mounted my cifs partition with a username and password and to
test whether I had my permissions right, I did:
$ sudo su testuser
From: Dan Carpenter dan.carpen...@oracle.com
Date: Sun, 25 Sep 2011 20:29:24 +0300
On Sat, Sep 24, 2011 at 05:04:50PM +0900, TAKAHASHI Motonobu wrote:
From: Dan Carpenter dan.carpen...@oracle.com
Date: Fri, 23 Sep 2011 09:38:56 +0300
I've mounted my cifs partition with a username and
From: Dan Carpenter dan.carpen...@oracle.com
Date: Fri, 23 Sep 2011 09:38:56 +0300
I've mounted my cifs partition with a username and password and to
test whether I had my permissions right, I did:
$ sudo su testuser
$ touch asdf
touch: cannot touch `asdf': Permission denied
$
It says
I've mounted my cifs partition with a username and password and to
test whether I had my permissions right, I did:
$ sudo su testuser
$ touch asdf
touch: cannot touch `asdf': Permission denied
$
It says permission denied, but the `asdf' file is still created. I
can't write any data to it, but I