When I execute ls -la /opt/tomcat this is what I get

enosh@hp:~$ ls -la /opt/tomcat
total 36
drwxr-xr-x 3 tomcat tomcat 4096 Aug 20 08:55 .
drwxr-xr-x 7 root   root   4096 Aug 19 10:53 ..
drwxr-xr-x 9 tomcat tomcat 4096 Aug 14 10:31 apache-tomcat-9.0.22
-rw-r--r-- 1 tomcat tomcat  220 Apr  4  2018 .bash_logout
-rw-r--r-- 1 tomcat tomcat 3771 Apr  4  2018 .bashrc
-rw-r--r-- 1 tomcat tomcat 8980 Apr 16  2018 examples.desktop
lrwxrwxrwx 1 tomcat tomcat   32 Aug 13 08:50 latest ->
/opt/tomcat/apache-tomcat-9.0.14
-rw-r--r-- 1 tomcat tomcat  807 Apr  4  2018 .profile


Kind Regards,

*Enosh Nyarige*
Student | Computer Science |
African Leadership University <https://www.alueducation.com/>

2nd Floor | Kigali Heights
Kigali |  Rwanda
Phone | +250 736 133 041 / +254 702 139 994
Skype: Nyarige Enosh


On Tue, Aug 20, 2019 at 12:24 PM Olaf Kock <tom...@olafkock.de> wrote:

>
> On 20.08.19 10:14, Enosh Mogire wrote:
> > So after installing and extracting the Tomcat archive file, I needed to
> set
> > the required permissions on the files through the commands bellow
> >
> > enosh@hp:~$ sudo chgrp -R tomcat /opt/tomcat
> > enosh@hp:~$ cd /opt/tomcat/
> > enosh@hp:/opt/tomcat$ sudo chmod -R g+r conf
> >
> > The last command returns an error (chmod: cannot access 'conf': No such
> > file or directory) and it is where I am stuck. Please advise accordingly,
> > thank you.
>
> What do you see when you execute
>
> ls -la /opt/tomcat
>
> ?
>
> It might be that you're just extracting into yet another subdirectory,
> e.g. /opt/tomcat/apache-tomcat-9.0.24/
>
> Olaf
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to