Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google colab /bin/bash: 'gdrive/My Drive/path/myfile : Permission denied

I'm trying to run a file (an executable) in google colab I mounted the drive and everything is ok however whenever i try to run it using :

! 'gdrive/My Drive/path/myfile'

I get this output of the cell:

/bin/bash: 'gdrive/My Drive/path/myfile : Permission denied

any ideas how to overcome the permissions?

like image 734
Yehdhih ANNA Avatar asked Dec 16 '19 22:12

Yehdhih ANNA


People also ask

How do I give permission to Google Colab?

Colab notebooks can be shared just as you would with Google Docs or Sheets. Simply click the Share button at the top right of any Colab notebook, or follow these Google Drive file sharing instructions.


1 Answers

you first need to permit that file/folder as: chmod 755 file_name

like image 161
umesh pant Avatar answered Oct 02 '22 07:10

umesh pant