renaming doesn't work on file in a read only directory

Bug #231147 reported by Magnentius
2
Affects Status Importance Assigned to Milestone
Nautilus
Won't Fix
Medium
nautilus (Ubuntu)
Won't Fix
Low
Ubuntu Desktop Bugs

Bug Description

The F2/rename file function is disabled in nautilus 2.22.2 for read-only files. Apparently the developer's assumed that this function is not needed when files can't be renamed because they're read-only anyway, but I often just copy & paste the name of a file in the console. So when you press F2 on a read-only file you should be able to edit the file name, but you should receive an error message when you try to apply changes.

Revision history for this message
A. Walton (awalton) wrote :

Thanks for your bug. Please keep in mind that developers are people too, and that this may not be intentional at all; a huge amount of changes have happened since Nautilus 2.20 including introducing a completely new virtual file system, and regressions are possible. However, I cannot reproduce that here even with a file with 444 permissions. Can you give us any more information that may be helpful in reproducing this? Kind of filesystem, whether or not you're using spatial or browser mode, the view you're using, and/or anything else we might find helpful. Thanks.

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Magnentius (nieuwsgroep222) wrote :

Thanks for your quick reply! Please forgive my tone, I didn't intent to sound this annoyed. Overall it is great software!

I just set a file to read-only to and renaming seems to work indeed. Initially I received this error when copying the VIDEO_TS directory from an unprotected retail dvd to my hard drive. So I tried this again but even know the F2 function seems to work just fine. So I recorded a television program with my dvd recorder and copied the VIDEO_TS folder to my hard drive. Now the F2 function does not work. So I checked the permissions:

magnentius@desktop:~/Bureaublad/test$ ls -l VIDEO_TS

totaal 54636

-r-xr-xr-x+ 1 magnentius magnentius 12288 2008-05-17 10:22 VIDEO_TS.BUP

-r-xr-xr-x+ 1 magnentius magnentius 12288 2008-05-17 10:22 VIDEO_TS.IFO

-r-xr-xr-x+ 1 magnentius magnentius 32768 2008-05-17 10:22 VIDEO_TS.VOB

-r-xr-xr-x+ 1 magnentius magnentius 16384 2008-05-17 10:22 VTS_01_0.BUP

-r-xr-xr-x+ 1 magnentius magnentius 16384 2008-05-17 10:22 VTS_01_0.IFO

-r-xr-xr-x+ 1 magnentius magnentius 55771136 2008-05-17 10:22 VTS_01_1.VOB

This seems normal for read-only files. So I made a test directory which I gave use-only permissions and the F2 function doesn’t work on the files in it now!

magnentius@desktop:~/Bureaublad/test$ ls -ld VIDEO_TS

dr-xr-xr-x+ 2 magnentius magnentius 4096 2008-05-17 10:22 VIDEO_TS

magnentius@desktop:~/Bureaublad$ ls -ld test

dr-xr-xr-x+ 3 magnentius magnentius 4096 2008-05-17 10:30 test

*Conclusion*: the F2/rename function does not work on files in a read-only directory.

Revision history for this message
Sebastien Bacher (seb128) wrote :

confirmed on intrepid and sent to http://bugzilla.gnome.org/show_bug.cgi?id=540285

Changed in nautilus:
status: Incomplete → Triaged
Changed in nautilus:
status: Unknown → New
Changed in nautilus:
status: New → Confirmed
Changed in nautilus:
status: Confirmed → Won't Fix
Revision history for this message
Pedro Villavicencio (pedro) wrote :

upstream one was closed as won't fix:

"Closing as WONTFIX as for last comment from Matthew and because I think as well
that we should reduce error alerts and not introduce new ones.
"

Changed in nautilus:
status: Triaged → Won't Fix
Changed in nautilus:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.