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-cifs&m=131715894203568&w=2
regards,
dan carpenter
--
To unsubscribe from this list go to the following URL and read the
instru
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)
From: Dan Carpenter
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
> > 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 ha
On Sat, Sep 24, 2011 at 05:04:50PM +0900, TAKAHASHI Motonobu wrote:
> From: Dan Carpenter
> 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 as
From: Dan Carpenter
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 permission denie
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