Skip to content
Mkyong.com
Mkyong.com
  • Development Service
  • Spring Boot
  • Java 8
  • Contact

permission

Linux – How to assign execute permission to a .sh file

February 5, 2017February 1, 2017 by mkyong

On *nix, you can use chmod +x file.sh to make a .sh file executable. Terminal $ ls -lsah total 12K 4.0K drwxr-xr-x 2 mkyong mkyong 4.0K Feb 5 10:24 . 4.0K drwxr-xr-x 17 mkyong mkyong 4.0K Feb 5 10:24 .. 4.0K -rw-r–r– 1 mkyong mkyong 67 Feb 5 10:24 run-script.sh $ chmod +x run-script.sh $ …

Read more

Categories unix / linux Tags chmod, permission, unix / linux Leave a comment

Can’t create file in the C drive root directory – Windows 8

August 15, 2013August 10, 2013 by mkyong

Developing a simple Java program to write a file in the C drive root directory (where Windows is installed), but the program prompts an “access is denied” error. Try to create an empty file in the C drive root directory manually, but no options to create any files, only new folder is allowed. P.S The …

Read more

Categories computer tips Tags permission, windows 8 19 Comments

Mkyong.com has provided Java and Spring tutorials, guides, and code snippets since 2008. All published articles are simple, easy to understand, and well-tested in our development environment.

Mkyong.com licenses all source code on this website under the MIT License.

Tools
  • Spring Framework
  • Quarkus Framework
  • Micronaut Framework
  • Oracle Java JDK
  • Eclipse Temurin JDK
  • OpenJDK JDK
  • Hibernate ORM
  • Maven Build Tool
  • Gradle Build Tool
  • Tomcat Application Server
  • Docker
Links
  • Spring Guides
  • Docker Hub
  • Maven Central
  • Keep A Changlog
  • Semantic Versioning
  • Hugging Face - Qwen
  • Martin Fowler
About
  • About Us
  • Code License
  • Privacy Policy
  • Terms Of Use
  • Contact Us
© 2026 Mkyong.com - Build with Love.