Dangerous behaviour on nfs mounted "all_squash" share

Bug #173654 reported by Laurynas Butkus
256
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

I have /media/www folder mounted from local NFS server.

It is shared with parameters:
/data/www 192.168.1.0/24(rw,all_squash,anonuid=0,anongid=513)

Basically it allows me to do changes as "root" user from the nfs client, and it's ok.
It works with mc, krusader.

On NFS client with Nautilus I can reproduce bug:
if I go to some subfolder on this share and try "Create Folder", it does not create the folder in current folder, but some levels up.

Exampe:
with MC created:
/media/www/test/level1/
go there with Nautilus and try "Create Folder"
folder "untitled folder" appears one level up:
/media/www/test/untitled folder

The same happens if I try to create a file or create folder in even deeper subfolder.

The MOST DANGEROUS situation is when you try to delete some subfolder - parent can be removed. Haven't tried that now, but one colleague exprieced this removing whole project when tried to remove just one it's subfolder. God bless backups ;)

I guess this is related with all_squash. It is very dangerous bug.

Revision history for this message
Laurynas Butkus (laurynas-butkus) wrote :

Forgot to write that I have experienced this on Feisty and on Gutsy (currently).

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

thank you for your bug report, could you try if that's still an issue using hardy?

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Laurynas Butkus (laurynas-butkus) wrote :

Tested, seems to be ok in Hardy. Thanks!

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

closing the bug since that works correctly in hardy

Changed in nautilus:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

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