Issue209

classification
Title Samba and XEmacs and read-only
Type defect Module core code 21.4
Severity inconvenience Platform x86, nt, mswindows
Keywords
explanation
process
These optional controls are only of interest to committers and tracker administrators.
Status deferred   Reason
Superseder   Submitted 2008-01-01.06:58:21
Priority normal   Assigned To
Nosy List  

Created on 2008-01-19.06:43:14 by xemacweb, last changed 2009-02-12.10:14:45 by rasved.

Files
File name Uploaded Type Edit Remove
unnamed xemacweb, 2008-01-19.06:43:14 text/html
unnamed xemacweb, 2008-01-19.06:43:14 text/plain
Messages
msg1012 [hidden] ([hidden]) Date: 2009-02-12.10:14:45
I still experience the problem in 21.4 (patch 21).

I also experience, that an inconvenient work-around is to either
1) have the files in chmod 666, or
2) use M-x toggel-read-only and force to save

Any suggestions for a solution?
msg848 [hidden] ([hidden]) Date: 2008-11-06.17:23:09
I'm still seeing the problem with the 2008-10-12 windows 
build.  However I've managed to spot something.

If the UNIX file is given a permission of 666 then XEmacs 
will write it without complaint.  With my usual 664 I need to 
toggle read-only and say yes to "try to save anyway?".

I've been looking at the ACL of a 664 file in Windows 
Explorer for the groups or user names.  It shows that 
Everyone has Read permission,Unix Group\<me> and Unix User
\<me> have Read and Write permissions. So I surmise that 
XEmacs is only looking at the Everyone permissions when 
evaluating the potential success of an operation.
msg670 [hidden] ([hidden]) Date: 2008-04-10.08:21:09
I see the problem in '21.5  (beta28) "fuki" (+CVS-20071205) 
XEmacs Lucid' but it is not in '21.5  (beta17) "chayote" 
XEmacs Lucid'.  Both are native on XP SP2.
msg455 [hidden] ([hidden]) Date: 2008-01-22.07:52:53
See also issue218, for a report generated by M-x
report-xemacs-bug (but no new relevant detail, the username
change seems to be a red herring).
msg360 [hidden] ([hidden]) Date: 2008-01-19.06:43:15
  Message-ID: <loom.20080106T130056-899@post.gmane.org>
QZ <wildcat4096 <at> yahoo.com> writes:

been assumed to no longer be an issue.  Tonight I tried to edit a file served by
Samba with XEmacs 21.4.20, 21.4.21, and 21.5-b28.  Each attempt and each version
yielded the same result.  I.e. XEmacs would open the file read-only ignoring
true permissions.  After opening the file read-only, I would M-X
toggle-read-only, make my changes, and save.  This work around unfortunately
does not help if the file does not exist as XEmacs refuses to make files in
directories served by Samba.  It seems to think that all directories ar
>  e read-only.For what it is worth, this is not a problem with GNU Emacs 22.1. 
(I've been using XEmacs for years and would hate to switch now though :(
>  )If there is any more information that would be helpful or any work around
please contact me.

Hi all,

I had the same Problem when I upgraded from 21.4.19 to 21.4.21 (see my post in
this list from 2007-10-29. I noticed that just in between these two versions
something was changed in the handling of permissions in windows. More info can
be found in my last post.

Regards,
Hilmar

> Looking for last minute shopping deals?  
> Find them fast with Yahoo! Search.
> 
> 
> _______________________________________________
> XEmacs-Beta mailing list
> XEmacs-Beta <at> xemacs.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
> 

_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta@xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
msg359 [hidden] ([hidden]) Date: 2008-01-19.06:43:14
  Message-ID: <901829.21196.qm@web36808.mail.mud.yahoo.com>
Searching the forums it appears this problem is not new but perhaps it has been assumed to no longer be an issue.  Tonight I tried to edit a file served by Samba with XEmacs 21.4.20, 21.4.21, and 21.5-b28.  Each attempt and each version yielded the same result.  I.e. XEmacs would open the file read-only ignoring true permissions.  After opening the file read-only, I would M-X toggle-read-only, make my changes, and save.  This work around unfortunately does not help if the file does not exist as XEmacs refuses to make files in directories served by Samba.  It seems to think that all directories are read-only.

For what it is worth, this is not a problem with GNU Emacs 22.1.  (I've been using XEmacs for years and would hate to switch now though :( )

If there is any more information that would be helpful or any work around please contact me.

      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
History
Date User Action Args
2009-02-12 10:14:45rasvedsetmessages: + msg1012
2008-11-06 17:23:09petefsetmessages: + msg848
2008-04-24 18:20:38stephensetstatus: chatting -> deferred
2008-04-10 08:21:09petefsetmessages: + msg670
2008-01-22 07:54:05stephenlinkissue218 superseder
2008-01-22 07:52:53stephensetseverity: inconvenience
messages: + msg455
module: + core code 21.4
priority: normal
platform: + x86, nt, mswindows
type: defect
2008-01-19 06:43:15hilmar.bergersetstatus: new -> chatting
messages: + msg360
2008-01-19 06:43:14xemacwebcreate