Git Product home page Git Product logo

Comments (3)

timonvo avatar timonvo commented on May 8, 2024

It's unclear to me why you would have permission issue, since the path being written to seems to be /usr/local/google/home/ryangu/venv/lib/python3.10/site-packages/tensorflow_federated/data, which seems to be in your home directory and so presumably should be writable to you.

Could you try and inspect the permissions on each of the directories in that path, to see if somehow the permissions are misconfigured on any of them, preventing you from writing to them? E.g. you could use namei -l /usr/local/google/home/ryangu/venv/lib/python3.10/site-packages/tensorflow_federated/data/ to print out the permissions for each directory in that path.

from federated-compute.

yuangu002 avatar yuangu002 commented on May 8, 2024

Thanks @timonvo, here is the output:

ryangu@ryangu:~$ namei -l /usr/local/google/home/ryangu/Desktop/venv/lib/python3.10/site-packages/tensorflow_federated/data/
f: /usr/local/google/home/ryangu/Desktop/venv/lib/python3.10/site-packages/tensorflow_federated/data/
drwxr-xr-x root   root         /
drwxr-xr-x root   root         usr
drwxr-xr-x root   root         local
drwxrwxrwt root   root         google
drwxr-xr-x root   root         home
drwx------ ryangu primarygroup ryangu
drwxr-xr-x ryangu primarygroup Desktop
drwxr-x--- ryangu primarygroup venv
drwxr-x--- ryangu primarygroup lib
drwxr-x--- ryangu primarygroup python3.10
drwxr-x--- ryangu primarygroup site-packages
drwxr-x--- ryangu primarygroup tensorflow_federated
drwxr-x--- ryangu primarygroup data

I think I see what the problem is, so my role (ryangu) only has the group permission instead of owner permission. I am not sure why my cloudtop doesn't have root access though. Happy to discuss with you internally.

from federated-compute.

yuangu002 avatar yuangu002 commented on May 8, 2024

I changed the project root directory from ~/Desktop to ~/ and the error just went away. The error means you have no write access to the directory, but I am not sure exactly what's the root cause of my case.

from federated-compute.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.