cancel
Showing results for 
Search instead for 
Did you mean: 

chmod permissions command not working

former_member594505
Active Participant
0 Kudos

Hello:

In HANA for SAP Business One 9.3 PL06, I'm simply trying to conduct a backup through SQL scripts, as shown below.

But, I'm getting an error in HANA Studio saying that it cannot open either the file or the path.

So, I run the chmod command in Linux shown at the end of this posting. Despite that command being run successfully, I still get the error and cannot backup.

Please help.

Thank you!

John

export "DBNAME"."*" as binary into '/home/FOLDERNAME' with replace threads 10;

chmod -R 777 home/FOLDERNAME

Accepted Solutions (1)

Accepted Solutions (1)

brunopbaffonso
Active Participant
0 Kudos

Hello friend!

All files and directories on the Linux system installed on the computer come from a single source: the root directory. Even if they are stored on other physical devices, it is from the root directory - represented by the slash (/) - that you can access them.

Thus, the home directory is contained in the root directory (/). You are missing a slash before the home to indicate that it is a directory at the root.

chmod -R 777 /home/FOLDERNAME

Without the slash before it indicates that the directory you are trying to access is contained within the directory you are running the command.

For example:

:/usr/sap # chmod -R 777 home/FOLDERNAME
You are running the command in /usr/sap/

Soon, the O.S. will look for the home/FOLDERNAME directory in /usr/sap/

Answers (0)