astrada / google-drive-ocamlfuse

FUSE filesystem over Google Drive
https://astrada.github.io/google-drive-ocamlfuse/
MIT License
5.53k stars 351 forks source link

drive.metadata.readonly #829

Open ottaviomarco opened 11 months ago

ottaviomarco commented 11 months ago

Hi, I'm trying to switch from rclone to google-drive-ocamlfuse and I need to mount a Google Drive as drive.metadata.readonly, with no access to the real data, only the metadata and the filenames. In the configuration file, I inserted a client_id and client_secret with access to the drive.metadata.readonly scope (rclone mounts the drive correctly). I set scope=drive.metadata.readonly (which after mounting the drive is changed to scope=readonly,metadata) but the files on the drive, mainly videos and photos, are opened like they were mounted with the default scope. Even with "google-drive-ocamlfuse drive -scope drive.metadata.readonly" it doesn't work. Am I doing something wrong? Can you help me out?