Do I need to use both chown nobody:users and chmod 755

In the command line chown nobody:users /mnt/user/A && chmod 755 /mnt/user/A can I use only chmod 755 /mnt/user/A to give access to anyone or do I need both to make it fully accessible for everyone?

2

1 Answer

From whatever little understanding I have, chmod 755 means owner will have read, write and execute permission while those part of the same group and other users will have read and execute permission. if this serves your purpose then chmod 755 file is enough.

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