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

Error: Mountpoint #834

Open
vvvshel opened this issue Nov 15, 2023 · 10 comments
Open

Error: Mountpoint #834

vvvshel opened this issue Nov 15, 2023 · 10 comments

Comments

@vvvshel
Copy link

vvvshel commented Nov 15, 2023

google-drive-ocamlfuse -label myTeamDrive /GoogleDrive

Error: Mountpoint /GoogleDrive should be an existing directory.

Why I am having this error?

Thanks

@rautamiekka
Copy link

Unintuitively, /GoogleDrive doesn't get autocreated by the underlying mount command, so you need sudo mkdir -vp /GoogleDrive 1st.

@vvvshel
Copy link
Author

vvvshel commented Nov 15, 2023

Unintuitively, /GoogleDrive doesn't get autocreated by the underlying mount command, so you need sudo mkdir -vp /GoogleDrive 1st.

Here is the result

" $ mkdir -vp /NewDrive

mkdir: cannot create directory ‘/NewDrive’: Permission denied "

@vvvshel
Copy link
Author

vvvshel commented Nov 15, 2023

After sudo $ mkdir -vp /NewDrive

$ google-drive-ocamlfuse -label vvs1 /NewDrive
fusermount: user has no write access to mountpoint /NewDrive

@vvvshel
Copy link
Author

vvvshel commented Nov 15, 2023

sudo google-drive-ocamlfuse -label vvs1 /NewDrive

mkdir: cannot create directory ‘/run/user/0’: Permission denied
Authorization required, but no authorization protocol specified
Error: cannot open display: :10.0
mkdir: cannot create directory ‘/run/user/0’: Permission denied
Authorization required, but no authorization protocol specified
Error: cannot open display: :10.0
/bin/sh: 1: google-chrome: not found
/bin/sh: 1: chromium-browser: not found
mkdir: cannot create directory ‘/run/user/0’: Permission denied
Authorization required, but no authorization protocol specified
Error: cannot open display: :10.0
Cannot retrieve auth tokens.
Failure("Error opening URL:https://accounts.google.com/o/oauth2/auth?client_id=564921029129.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fgd-ocaml-auth.appspot.com%2Foauth2callback&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&response_type=code&access_type=offline&approval_prompt=force&state=tEeuoPJgtTYMY9l6Ept5UmTIUZQJ0CMYD0ybRv5BYi0")

@rautamiekka
Copy link

You used a different mount point (/NewDrive), one that doesn't exist, from the one you created (/GoogleDrive), so the original problem re-happened.

^ Also if you used sudo with mkdir to create the mount point, you need to use it with this app as well.

@vvvshel
Copy link
Author

vvvshel commented Nov 16, 2023

You used a different mount point (/NewDrive), one that doesn't exist, from the one you created (/GoogleDrive), so the original problem re-happened.

^ Also if you used sudo with mkdir to create the mount point, you need to use it with this app as well.

Thank you.
I may have made a wrong step somewhere.
Can you help me with all the necessary commands from the scratch as I am so confused between creating My Drive and Team Drive commands.
My mian purpose is to get TeamDrive mounted so that I can access it from a web app.

@vvvshel
Copy link
Author

vvvshel commented Nov 17, 2023

You used a different mount point (/NewDrive), one that doesn't exist, from the one you created (/GoogleDrive), so the original problem re-happened.

^ Also if you used sudo with mkdir to create the mount point, you need to use it with this app as well.

Thanks,

Now I have a working way now.

@vvvshel
Copy link
Author

vvvshel commented Nov 17, 2023

Why am I having this error message when I run the below command?
" chmod 755 -R vvplus "

( chmod: changing permissions of 'vvplus': Input/output error
chmod: changing permissions of 'vvplus/.shared': Input/output error
chmod: changing permissions of 'vvplus/.Trash': Input/output error )

@GetPsyched
Copy link

Happens when the connection has been lost or there was an error. Try unmounting and remounting the Drive.

  1. Unmount: fusermount -u [mountpoint] or umount [mountpoint]
  2. Mount: google-drive-ocamlfuse [mountpoint]

@vvvshel
Copy link
Author

vvvshel commented Nov 18, 2023

Those are useful command , thanks .

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

No branches or pull requests

3 participants