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?
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.
you first need to permit that file/folder as: chmod 755 file_name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With