From: Jeremy Allison <jra-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
To: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Jeremy Allison <jra-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>,
Pavel Shilovsky
<piastryyy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
samba-technical
<samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org>
Subject: Re: cthon failure
Date: Mon, 25 Aug 2014 17:10:33 -0700 [thread overview]
Message-ID: <20140826001033.GA7407@samba2> (raw)
In-Reply-To: <CAH2r5ms5=vV2XD2oP2NoaLavsZCo=x4w=w7vvshzNQRNJ1RkFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Mon, Aug 25, 2014 at 07:05:53PM -0500, Steve French wrote:
> I just tried it on recent Samba (from about a week ago) with the same results
>
> Version 4.2.0pre1-GIT-47e7440
> and also
> Version 4.1.6-Ubuntu
>
> If "store dos attributes = yes" (on by default in Ubuntu) is in smb.conf
>
> then the following fails
> mount -t cifs //someserver/someshare /mnt
> touch /mnt/newfile1
> chmod 0000 /mnt/newfile1
> stat /mnt/newfile1 (mode displays as expected)
> rm /mnt/newfile1 (fails with access denied)
>
> if the identical scenario is tried with "store dos attributes = no" in
> smb.conf then it works
> mount -t cifs //someserver/someshare /mnt
> touch /mnt/newfile2
> chmod 0000 /mnt/newfile2
> stat /mnt/newfile2 (mode displays as expected)
> rm /mnt/newfile2 (delete works), and also removing the newfile1
> created above also works)
> rm /mnt/newfile1 (also works)
>
> Details:
> posix unlink (set path info) fails with access denied/status cannot
> delete, as does subsequent smb delete. Attempts to clear the
> readonly bit also fails with access denied
>
> The chmod 0000 causes Samba server to set the read-only dos attribute
> in the failing case
As I said - can't reproduce here so obviously reporting
the same thing I already used to reproduce isn't going to help :-).
Can you get me YOUR ENTIRE smb.conf, debug level 10 log,
wireshark trace of the activity please.
Log a bug and attach them - easiest way to track.
next prev parent reply other threads:[~2014-08-26 0:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 2:33 cthon failure Steve French
[not found] ` <CAH2r5mtN1cHocFcVPsDC9kVq5c9DyxazmTBFQp_wUVCPNsvV7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-20 6:05 ` Pavel Shilovsky
[not found] ` <CAKywueTzRheGbgKPijF9Wk5LiTx9LL3BHm4zgfMSB7-FzSLpUw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-20 6:23 ` Pavel Shilovsky
2014-08-21 18:55 ` Jeremy Allison
2014-08-21 21:13 ` Jeremy Allison
2014-08-26 0:05 ` Steve French
[not found] ` <CAH2r5ms5=vV2XD2oP2NoaLavsZCo=x4w=w7vvshzNQRNJ1RkFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-26 0:10 ` Jeremy Allison [this message]
2014-08-26 2:04 ` Steve French
[not found] ` <CAH2r5mtdkx=iPmQBUq2RLf15zRfLnfFxZU6Y7bRLRtU09Cv1mw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-26 16:12 ` Jeremy Allison
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140826001033.GA7407@samba2 \
--to=jra-eunubhrolfbytjvyw6ydsg@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=piastryyy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org \
--cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox