View Full Version : [ubuntu] File permissions
ZenMasterInTraining
April 10th, 2013, 01:59 PM
I've created a specific directory with multiple files and I need to set read / write / execute permissions for all files in this folder read / write / execute for group only and not allow for 'others', what is the best way to go about this using CLI?
Frogs Hair
April 10th, 2013, 02:11 PM
Here is a place to start until further responses come. https://help.ubuntu.com/community/FilePermissions
ZenMasterInTraining
April 10th, 2013, 02:13 PM
Here is a place to start until further respoces come. https://help.ubuntu.com/community/FilePermissions
Thanks for the reply I looked there already, I found it more confusing. somebody already explained it to me and it seems I want to do the following:
chmod 070 file, file, file, file
steeldriver
April 10th, 2013, 02:19 PM
Why do you want no permissions for the owner?
Why do you want all files to have execute permission? unless they are actually executable (scripts or binaries) then what you probably want is something like
chmod ug=rwX,o= yourdir
Tell us your purpose and we can give better advice
ZenMasterInTraining
April 10th, 2013, 02:28 PM
Solved, used chmod 770 file* which did the trick
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.