Could you please expand a little bit, I am trying to install End Point Protection on a mac, at the time of executing the installer, it sends me a message that takes me to read KBA 131749, however, this document does not clearly describe how I should execute the following command:
- Save the following code to a file, and execute it from terminal on the Mac. It will report the number of directories impacted, and which ones they are.
- Note: To allow it to execute, run
chmod u+x <filename>
, then./<filename>
to run it.
- So I made the file in the text editor "textedit" and when I saved it I created it with the .rtf ending
- Then I tried to execute it and I got the following answer
-
MacBook-Air-de-Francisco:~ franciscojuarez$ ls -la
total 608
drwxr-xr-x+ 41 franciscojuarez staff 1394 Feb 15 20:16 .
drwxr-xr-x 6 root admin 204 Jan 31 2016 ..
-r-------- 1 franciscojuarez staff 8 Jan 31 2016 .CFUserTextEncoding
-rw-r--r--@ 1 franciscojuarez staff 14340 Jan 25 12:44 .DS_Store
drwx------ 4 franciscojuarez staff 136 Feb 13 18:59 .Trash
-rw------- 1 franciscojuarez staff 0 Jul 28 2016 .Xauthority
drwxrwxrwx 10 franciscojuarez staff 340 Jul 2 2018 .anydesk
-rw-r--r-- 1 franciscojuarez staff 2267 Feb 5 19:51 .bash_history
drwxr-xr-x 78 franciscojuarez staff 2652 Feb 15 19:01 .bash_sessions
drwxr-xr-x 3 franciscojuarez staff 102 Jul 27 2016 .cache
drwx------ 3 franciscojuarez staff 102 Apr 15 2018 .config
drwx------ 3 franciscojuarez staff 102 Feb 8 2017 .cups
drwxr-xr-x 5 franciscojuarez staff 170 Jul 27 2016 .dia
drwxr-xr-x 8 franciscojuarez staff 272 Jul 27 2016 .dia-etc
drwxr-xr-x 16 franciscojuarez staff 544 Jul 27 2016 .fontconfig
drwxr-xr-x 2 franciscojuarez staff 68 Dec 12 2017 .fsav
-rw-r--r-- 1 franciscojuarez staff 4 Apr 15 2018 .ftpquota
drwxr-xr-x 4 franciscojuarez staff 136 Jun 21 2016 .oracle_jre_usage
-rw------- 1 franciscojuarez staff 1024 Jul 27 2016 .rnd
drwx------ 3 franciscojuarez staff 102 Jul 21 2016 .ssh
-rw------- 1 franciscojuarez staff 1023 Jul 21 2016 .viminfo
-rwxrwxrwx 1 franciscojuarez staff 7513 Feb 13 2016 3166.sh
drwx------ 3 franciscojuarez staff 102 Sep 19 2017 Applications
drwxr-xr-x@ 4 franciscojuarez staff 136 Jan 26 13:25 Books
drwxrwxr-x@ 3 franciscojuarez staff 102 Jun 20 2017 Creative Cloud Files
-rw-r--r-- 1 franciscojuarez staff 174 Jun 2 2016 DemoGTAB.session
-rw-r--r-- 1 franciscojuarez staff 245760 Jun 3 2016 DemoGTAB.session.data
-rw-r--r-- 1 franciscojuarez staff 84 Jun 3 2016 DemoGTAB.session.properties
-rw-r--r-- 1 franciscojuarez staff 7561 Jun 3 2016 DemoGTAB.session.script
drwx------+ 96 franciscojuarez staff 3264 Feb 15 16:39 Desktop
drwx------+ 8 franciscojuarez staff 272 Feb 15 19:50 Documents
drwx------+ 6 franciscojuarez staff 204 Feb 15 16:33 Downloads
drwx------@ 62 franciscojuarez staff 2108 Dec 12 2017 Library
drwx------+ 6 franciscojuarez staff 204 May 29 2016 Movies
drwx------+ 6 franciscojuarez staff 204 Mar 28 2016 Music
drwx------+ 31 franciscojuarez staff 1054 Jan 29 14:07 Pictures
drwx------+ 5 franciscojuarez staff 170 Jan 31 2016 Public
drwxr-xr-x 3 franciscojuarez staff 102 May 16 2018 Samsung
drwxr-xr-x 3 franciscojuarez staff 102 Mar 27 2016 VirtualBox VMs
drwx------ 2 franciscojuarez staff 68 Sep 13 00:14 dd
-rwxr--r-- 1 franciscojuarez staff 964 Feb 15 19:49 sophospermissions.rtf
-
MacBook-Air-de-Francisco:~ franciscojuarez$ ./sophospermissions.rtf
./sophospermissions.rtf: line 1: {rtf1ansiansicpg1252cocoartf1404cocoasubrtf470: command not found
./sophospermissions.rtf: line 2: syntax error near unexpected token `}'
./sophospermissions.rtf: line 2: `{\fonttbl\f0\fmodern\fcharset0 Courier;}'
MacBook-Air-de-Francisco:~ franciscojuarez$ cd ./
MacBook-Air-de-Francisco:~ franciscojuarez$ pwd
/Users/franciscojuarez
MacBook-Air-de-Francisco:~ franciscojuarez$ sophospermissions.rtf
-bash: sophospermissions.rtf: command not found
MacBook-Air-de-Francisco:~ franciscojuarez$ s
[Restaurado: 17/02/2019 20:31:37]
Last login: Sun Feb 17 20:31:22 on console
- Please, let me know, how should I save the file, which termination must have?
- Please, let me know more details, how can i execute the command chmod u+x <filename>
- in which path the file should be?
- Thank you for your support.
This thread was automatically locked due to age.