Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find 'cygdrive/j' : Permission denied #282

Closed
carc1n0gen opened this issue Apr 9, 2015 · 12 comments · Fixed by #287
Closed

find 'cygdrive/j' : Permission denied #282

carc1n0gen opened this issue Apr 9, 2015 · 12 comments · Fixed by #287

Comments

@carc1n0gen
Copy link

Upon installing a fresh babun 1.1.0 I have the following output:

Executing daily babun check:
Source consistent [OK]
Prompt speed      [OK]
File permissions  [OK]
Connection check  [OK]
Update check      [OUTDATED]
Hint: your babun is outdated. Execute 'babun update'
Cygwin check      [OK]
find: ‘/cygdrive/i’: Permission denied
find: ‘/cygdrive/j’: Permission denied
Welcome to babun - the Windows shell you will love!
You have got a lot of things under the hood here!

   pact -> a package manager that handles installation of babun packages
      pact install tar -> will install tar package on your system
      pact remove tar -> will remove tar package from your system

   babun -> a script that manages babun and enables auto-update
      babun check -> will check the configuration (proxy, connection, etc)
      babun update -> will update babun to the newest version
      babun --welcome -> will display this message again

There is a couple of plugins installed by default: oh-my-zsh, pact, cacert, etc.
There is also a lot of dev tools such as git, svn, unix utils, etc
If you would like to contribute, code up a plugin or report an issue just
go to github: https://github.com/babun/babun

If you like the project star it on github and follow me on twitter!
This project is created and maintained by Tom Bujok (@tombujok)

Note the find 'cygdrive/j' : Permission denied and find 'cygdrive/i' : Permission denied

Also when executing babun update as requested by this output I get:

Executing babun update
  upstream  [release]
  installed [1.1.0]
  newest    [1.1.1]
HEAD is now at 4c8eed3 Fixing version on fresh install
Fetching origin
error: Could not fetch origin
Error on or near line 47, last command 'git --git-dir="$babun/source/.git" --work-tree="$babun/source" fetch --all';

I then closed the terminal and opened a new one and now babun update outputs:

Executing babun update
: invalid option name: line 2: set: pipefail
@ylecuyer
Copy link
Contributor

I have th same problem every time I launch babun

babun

@tombujok
Copy link
Contributor

Could you execute the following commands and paste the result:
find /cygdrive/ -maxdepth 1 -type d
and
ls -al /cygdrive/

@ylecuyer
Copy link
Contributor

Here is the result:
babun_2

@tombujok
Copy link
Contributor

Basically it looks like u is an unidentifed network drive which you don't have acces to.
Can you access u in a File Explorer?

@ylecuyer
Copy link
Contributor

You're right. It's displayed in explorer but I can't access it.

@tombujok
Copy link
Contributor

OK, it's just a stderr message from find.
Could you execute the following command and past the result?
find /cygdrive/ -maxdepth 1 -type d 2>/dev/null

@ylecuyer
Copy link
Contributor

You're right. It's displayed in explorer but I can't access it.

On Fri, Apr 10, 2015 at 11:55 AM, Tom Bujok notifications@github.com
wrote:

Basically it looks like u is an unidentifed network drive which you don't
have acces to.
Can you access u in a File Explorer?


Reply to this email directly or view it on GitHub
#282 (comment).

@tombujok
Copy link
Contributor

I understand. It would be just great to check if redirecting the output to stderr removes this permission denied messages.
find /cygdrive/ -maxdepth 1 -type d 2>/dev/null

@ylecuyer
Copy link
Contributor

It does:
babun_3

@tombujok
Copy link
Contributor

Perfect! Would you like to fix the second find execution in the file mentioned below and submit a pull request so that you get the credits ;) ?
https://github.com/babun/babun/blob/master/babun-core/plugins/cygdrive/start.sh

@carc1n0gen
Copy link
Author

Any ideas about the babun update problem?

@tombujok
Copy link
Contributor

Fixed in 1.2.0
See release status: #304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants