SourceForge has been redesigned. Learn more.

#496 externally changed file status not recognised

Program (402)

do the following:
as user>nedit dummy_file.txt
[-rw-r--r-- 1 root root 13438 Nov 1
15:01 dummy_file.txt]
title bar of window shows: dummy_file.txt -
dir/where/it/is/located (read only)
as root>chown user.usergroup dummy_file.txt
title bar has not changed
read only status isn't changeable from within through
pref/read only

usually if one changes the permissions while the user
is the same, this change is reflected in the window title

I guess it should be the same in this case.

I use ...
NEdit 5.5
Sep 30, 2004

Built on: Linux, 386, GNU C
Built at: Oct 1 2004, 15:55:40
With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
Running Motif: 2.1 [unknown]
Server: The XFree86 Project, Inc 40200000
Visual: 24-bit TrueColor (ID 0x23, Default)
Locale: de_DE@euro

under Linux RH7.3

Thanks for this piece of software anyway.


  • Andrew Hood

    Andrew Hood - 2005-11-02

    Logged In: YES

    This probably requires testing st_ctime to see it it has
    changed at the same time st_mtime is tested to see if the
    file was modified.
    This would still be a potential race condition..

  • Eddy De Greef

    Eddy De Greef - 2005-11-08
    • labels: --> Program
    • milestone: --> release
    • assigned_to: nobody --> edg
    • status: open --> closed-fixed
  • Eddy De Greef

    Eddy De Greef - 2005-11-08

    Logged In: YES

    This is now fixed in CVS.
    The file's uid and gid are now recorded just like its
    permissions and a change in any of these triggers a
    re-evaluation of the read-only status.


Log in to post a comment.