Deleting folders using samba

I installed some folders using git clone, but now I want to delete them. But when I try to through samba, it tells me I need permission from PYNQ/root in order to do so. How do I fix this problem? Thanks.

The folders (probably) don’t have write permission.

You can log in with a terminal (USB uart, or the Jupyter terminal) and run sudo chmod and change the permissions on files/folders.


Thanks, that helps out. Is there a way to make it so that I don’t have to run chmod everytime?

Are you git cloning as root or as the xilinx user?
This isn’t specific to PYNQ, and is related to Linux file permissions. You might want to read up on this.
Maybe something like this?:

Or chmod -r?