folder "Access is denied" while cf pushing apps

184 views
Skip to first unread message

gaddi...@gmail.com

unread,
Jul 17, 2014, 5:22:03 AM7/17/14
to vcap...@cloudfoundry.org
As a new user, I tried to create a very simple app and push it using cf cli v6.3.0, each time I got some "Access is Denied" ERROR during upload app. But that's not the path where the app locates. The app has only one very simple file like helloworld. Could anyone help me? Thx.
ERROR.png

Daniel Mikusa

unread,
Jul 17, 2014, 8:47:11 AM7/17/14
to vcap...@cloudfoundry.org
The cf client is trying to upload everything (recursive) from your current directory "c:\Users\vmware", which is what you've specified with the "-p" argument.  This is causing a problem when it hits the "c:\Users\vmware\AppData\Local\Application Data" directory because it doesn't have permission to read something there.

Suggestions:

1.) Put your project files into a subdirectory and push from there.
2.) Add a .cfignore file to the root of your path (i.e. where -p points) and list the things you don't want to be pushed.

Dan



On Thu, Jul 17, 2014 at 5:22 AM, <gaddi...@gmail.com> wrote:
As a new user, I tried to create a very simple app and push it using cf cli v6.3.0, each time I got some "Access is Denied" ERROR during upload app. But that's not the path where the app locates. The app has only one very simple file like helloworld. Could anyone help me? Thx.

--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/0fb34d1d-90b1-4322-ad0e-64c8c39d6a1a%40cloudfoundry.org.

To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.

Reply all
Reply to author
Forward
0 new messages