* bug#64325: ACL error
[not found] <5dbaa3f3-7bdf-97dd-c9e9-e6c65c0a3c47.ref@verizon.net>
@ 2023-06-28 13:15 ` Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-29 5:47 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-06-28 13:15 UTC (permalink / raw)
To: 64325
[-- Attachment #1: Type: text/plain, Size: 267 bytes --]
Please see the attached debug on error which is generated when I attempt
to save a modified buffer/file, regardless of mode.
Emacs version - GNU Emacs 30.0.50 (build 36, x86_64-pc-linux-gnu, GTK+
Version 3.24.36, cairo version 1.16.0) of 2023-06-28
Charlie Millar
[-- Attachment #2: Debugger-2023-06-28 --]
[-- Type: text/plain, Size: 732 bytes --]
\Debugger entered--Lisp error: (file-error "Setting ACL" "Operation not permitted" "/mnt/Data/ActiveFiles/thuis~")
set-file-acl("/mnt/Data/ActiveFiles/thuis~" "user::rwx\ngroup::rwx\nother::rwx\n")
set-file-extended-attributes("/mnt/Data/ActiveFiles/thuis~" ((acl . "user::rwx\ngroup::rwx\nother::rwx\n") (selinux-context nil nil nil nil)))
backup-buffer-copy("/mnt/Data/ActiveFiles/thuis" "/mnt/Data/ActiveFiles/thuis~" 511 ((acl . "user::rwx\ngroup::rwx\nother::rwx\n") (selinux-context nil nil nil nil)))
backup-buffer()
basic-save-buffer-2()
basic-save-buffer-1()
basic-save-buffer(t)
save-buffer(1)
funcall-interactively(save-buffer 1)
call-interactively(save-buffer nil nil)
command-execute(save-buffer)
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#64325: ACL error
2023-06-28 13:15 ` bug#64325: ACL error Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-06-29 5:47 ` Eli Zaretskii
2023-07-06 6:40 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2023-06-29 5:47 UTC (permalink / raw)
To: Charles Millar; +Cc: 64325
> Date: Wed, 28 Jun 2023 09:15:16 -0400
> From: Charles Millar via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> Please see the attached debug on error which is generated when I attempt
> to save a modified buffer/file, regardless of mode.
If, as I understand, you set debug-on-error non-nil when saving the
buffer, then this is normal: it means that the volume you have mounted
in /mnt/ doesn't support ACLs. Emacs normally hides the ACL-related
errors and silently falls back on using set-file-modes, but setting
debug-on-error non-nil disables that.
So I don't think there's a bug here if you set debug-on-error.
If this happens even if you do not set debug-on-error, then I'd ask
you to step in Edebug through the code in backup-buffer-copy and tell
how come the with-demoted-errors form there doesn't do its job of
catching errors.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#64325: ACL error
2023-06-29 5:47 ` Eli Zaretskii
@ 2023-07-06 6:40 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2023-07-06 6:40 UTC (permalink / raw)
To: millarc; +Cc: 64325-done
> Cc: 64325@debbugs.gnu.org
> Date: Thu, 29 Jun 2023 08:47:29 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Date: Wed, 28 Jun 2023 09:15:16 -0400
> > From: Charles Millar via "Bug reports for GNU Emacs,
> > the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> >
> > Please see the attached debug on error which is generated when I attempt
> > to save a modified buffer/file, regardless of mode.
>
> If, as I understand, you set debug-on-error non-nil when saving the
> buffer, then this is normal: it means that the volume you have mounted
> in /mnt/ doesn't support ACLs. Emacs normally hides the ACL-related
> errors and silently falls back on using set-file-modes, but setting
> debug-on-error non-nil disables that.
>
> So I don't think there's a bug here if you set debug-on-error.
>
> If this happens even if you do not set debug-on-error, then I'd ask
> you to step in Edebug through the code in backup-buffer-copy and tell
> how come the with-demoted-errors form there doesn't do its job of
> catching errors.
No further comments, so I presume the issue can be closed now.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-06 6:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <5dbaa3f3-7bdf-97dd-c9e9-e6c65c0a3c47.ref@verizon.net>
2023-06-28 13:15 ` bug#64325: ACL error Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-29 5:47 ` Eli Zaretskii
2023-07-06 6:40 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).