New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 755420 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Last visit 15 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Short path for file while using container not recognized

Project Member Reported by genek@google.com, Aug 15 2017

Issue description

Chrome Version       : 61.0.3163.38
OS Version: 9765.21.0
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari 5:
  Firefox 4.x:
     IE 7/8/9:

What steps will reproduce the problem?
1. Open crosh
2. pass file name to container located in Downloads

What is the expected result?
Container looks directly into Downloads folder


What happens instead of that?
File was not recognized
I had to pass home/user/$foo_file



Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (X11; CrOS x86_64 9765.21.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.38 Safari/537.36



 

Comment 1 by dgreid@chromium.org, Aug 15 2017

Cc: vapier@chromium.org
Labels: -Pri-3 Proj-Containers Pri-2
Owner: ejcaruso@chromium.org
Status: Assigned (was: Unconfirmed)
Maybe the right way to handle this is to make sure the container runs with CWD set to Downloads? Do we think that would be hard to do?

Comment 2 by vapier@chromium.org, Aug 16 2017

can you post the exact command you attempted to run that did not work so it's clear what we should debug ?

Comment 3 by dgreid@chromium.org, Aug 16 2017

eric was looking at this one.

it was something like

crosh> c adb push ThisDownloadedFile

doesn't work but,

crosh> c adb push ~/ThisDownloadedFile

does work.

Comment 4 by vapier@chromium.org, Aug 16 2017

ok, so we aren't talking about locating the container, we're talking about the container locating files

for adb/fastboot, i've set the cwd in the config.json to /home/user which should already be bind mounted to /home/user when crosh runs the container ...
Components: OS>Systems>Containers
Labels: Hotlist-Crostini-Platform

Sign in to add a comment