How to see file permissions and ownership in git bash (Windows 10)?

When I do ls -l, all files appear to have the same user, and all appear to have same permissions:

  • regular files have -rw-r--r--
  • executables have -rwxr-xr-x
  • directories have drwxr-xr-x

Regardless of who actually owns them.

If I use my admin privileges, and check directories that belong to other users, ownership and permission look exactly the same.

How can I see and change permission and ownership within git bash?

1

1 Answer

Try ls -al to include ownership

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like