New issue
Advanced search Search tips

Issue 846190 link

Starred by 16 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature



Sign in to add a comment

Files App add support to notify when Linux Files (or other FUSE systems) changes

Project Member Reported by jopra@google.com, May 24 2018

Issue description

Chrome Version: Chrome Version 68.0.3422.0
OS: Chrome OS Platform 10652.0.0-18.05.06

What steps will reproduce the problem?
(1) Mount a Crostini directory over SSH mount.
(2) Add, remove or rename a file in that directory.
(3) Attempt to overwrite, open, copy or rename the file.

What is the expected result?
The files app should detect the changes and update its UI.

What happens instead?
An error message shows under the tree view or an error message dialog shows (depending on the error).
 

Comment 1 by jopra@google.com, May 24 2018

Labels: Proj-Containers
Labels: -Pri-3 Pri-2
Owner: joelhockey@chromium.org
Status: Assigned (was: Untriaged)
Labels: -OS-Linux
Cc: slangley@chromium.org weifangsun@chromium.org tbuck...@chromium.org
Status: WontFix (was: Assigned)
+weifangsun, +tbuckley so that you are aware of this limitation.

Fuse does not support inotify.  We will not be able to support these features using sshfs.

The best you can do is to refresh FilesApp (refresh icon at top, or change directory and change back).  After refresh, you should see the correct view of files.
Labels: CrOSFileFeature-Crostini
I guess we should turn this into a feature request, as we could make this work if we really want to (e.g. sidechannel the inotify messages over mojo, or potentially patch FUSE).

FYI: https://github.com/libfuse/libfuse/wiki/Fsnotify-and-FUSE
Labels: -Type-Bug Type-Feature
Status: Assigned (was: WontFix)
Summary: Files App add support to notify when LInux Files (or other FUSE systems) changes (was: Files App doesn't automatically update after changes)
Changed to feature request
Summary: Files App add support to notify when Linux Files (or other FUSE systems) changes (was: Files App add support to notify when LInux Files (or other FUSE systems) changes)

Comment 8 by vapier@chromium.org, May 29 2018

Components: OS>Systems>Containers

Comment 9 by sashab@chromium.org, May 30 2018

Labels: -CrOSFileFeature-Crostini CrOSFilesFeature-Crostini
Cc: rohi...@chromium.org dgreid@chromium.org
 Issue 894240  has been merged into this issue.
Chrome: 72.0.3626.0
Chrome OS: 11316.57.0 Beta

I observe similar behavior about delete folder. Not sure if this a same issue:

1) From Files app, right click on Linux filers and create a new folder
2) From terminal, enter rmdir the above folder
3) From Files app, click on Refresh

Expected result:
 a) folder should be remove from right panel
 b) Folder should be removed from the Linux file tree in the left panel

Actual result:
 a) (Good) Folder was removed from right panel
 b) Folder was still listed under the Linux files tree in the left panel despite Refresh. It'll only be updated when I minimize the Linux files tree

Please note: If the deletion of folder was done from UI, then both right panel and left panel would be updated correctly

Sign in to add a comment