简体   繁体   中英

How to change default permissions for files inside a directory in Linux?

I created a directory named myscripts.I want each file created inside this directory to have executable permission. How to do that?

You can try "chmod +x -R foldername/"

Use command chmod with * that will delete all files in directory at once Chmod 777 *

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM