Help with Linux Mint

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
cooltwou
Posts: 79
Joined: Wed Aug 07, 2013 6:04 am
Location: Virginia

Help with Linux Mint

Post by cooltwou »

can somebody help me install this program on Linux Mint because I am having a hard time trying to install this program
boss
Posts: 492
Joined: Thu Jun 30, 2016 1:07 pm

Re: Help with Linux Mint

Post by boss »

From the command line:
cd /opt
mkdir ums
cd ums
***Copy the UMS install file (UMS-Linux-15.6.0-x86_64.tgz) to this folder: /opt/ums
tar -xvzf UMS-Linux-15.6.0-x86_64.tgz
*** You should then have the UMS program folder: /opt/ums/ums-15.6.0

That should give you a starting point.
Start UMS by running:
/opt/ums/ums-15.6.0/UMS.sh
Or
./UMS.sh if already in the /opt/ums/ums-15.6.0 folder.
cooltwou
Posts: 79
Joined: Wed Aug 07, 2013 6:04 am
Location: Virginia

Re: Help with Linux Mint

Post by cooltwou »

the second line says this:
/opt$ mkdir ums
mkdir: cannot create directory ‘ums’: Permission denied
boss
Posts: 492
Joined: Thu Jun 30, 2016 1:07 pm

Re: Help with Linux Mint

Post by boss »

What are the permissions for your /opt directory?
And try:
/opt$ sudo mkdir ums
cooltwou
Posts: 79
Joined: Wed Aug 07, 2013 6:04 am
Location: Virginia

Re: Help with Linux Mint

Post by cooltwou »

I don't know what the permissions are & how to find them either
boss
Posts: 492
Joined: Thu Jun 30, 2016 1:07 pm

Re: Help with Linux Mint

Post by boss »

To see permissions:
cd /
ls -l

You will see the opt folder
It will show something like this:
drwxr-xr-x. root. root

Post what yours is.
cooltwou
Posts: 79
Joined: Wed Aug 07, 2013 6:04 am
Location: Virginia

Re: Help with Linux Mint

Post by cooltwou »

cd /
ls -l
total 2097240
lrwxrwxrwx 1 root root 7 Apr 29 00:35 bin -> usr/bin
drwxr-xr-x 2 root root 4096 Feb 26 2024 bin.usr-is-merged
drwxr-xr-x 4 root root 4096 Jun 9 10:43 boot
drwxr-xr-x 2 root root 4096 Apr 29 00:39 cdrom
drwxr-xr-x 22 root root 5000 Jun 10 11:00 dev
drwxr-xr-x 159 root root 12288 Jun 10 00:39 etc
drwxr-xr-x 3 root root 4096 Apr 29 00:39 home
lrwxrwxrwx 1 root root 7 Apr 29 00:35 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Jun 10 00:39 lib32 -> usr/lib32
lrwxrwxrwx 1 root root 9 Apr 29 00:35 lib64 -> usr/lib64
drwxr-xr-x 2 root root 4096 Apr 8 2024 lib.usr-is-merged
drwx------ 2 root root 16384 Apr 29 00:34 lost+found
drwxr-xr-x 3 root root 4096 May 1 20:07 media
drwxr-xr-x 3 root root 4096 May 1 23:26 mnt
drwxr-xr-x 6 root root 4096 Jun 10 04:01 opt
dr-xr-xr-x 427 root root 0 Jun 7 18:44 proc
drwx------ 9 root root 4096 Jun 8 01:26 root
drwxr-xr-x 38 root root 1040 Jun 9 10:43 run
lrwxrwxrwx 1 root root 8 Apr 29 00:35 sbin -> usr/sbin
drwxr-xr-x 2 root root 4096 Mar 31 2024 sbin.usr-is-merged
drwxr-xr-x 2 root root 4096 Jan 8 13:32 srv
-rw------- 1 root root 2147483648 Apr 29 00:35 swapfile
dr-xr-xr-x 13 root root 0 Jun 7 18:44 sys
drwxrwxrwt 21 root root 4096 Jun 10 07:38 tmp
drwxr-xr-x 13 root root 4096 Jun 10 00:39 usr
drwxr-xr-x 11 root root 4096 Apr 29 00:43 var
boss
Posts: 492
Joined: Thu Jun 30, 2016 1:07 pm

Re: Help with Linux Mint

Post by boss »

drwxr-xr-x 6 root root 4096 Jun 10 04:01 opt

the first letter "d" just says that opt is a directory

From their you have permissions for 3.
You can see that the first (owner) is root.
The second (group) is root.
The last does not have any owner as those permissions are for anyone who has an account on the system.

Each of these has 3 possibilities as far as permissions go.
r = read
w = write
x = execute (or run).

You can see that only the first three have rwx (for owner who is root)
The next three have r-x (for group root)
The last three have r-x (for anyone else who has an account on the system.

That means, that only when root is logged onto the system, can anything be written to the opt directory.
I guess you are logged on as a user and not root.

There are several ways to work around this. The first being to log on as root but I don't think we will use that method.
When you are logged on as a user (not root), you can use the "sudo" command to give you elevated privileges.

Try this:
From the command line (logged on like before as your normal user):
cd /opt
sudo mkdir ums
***Copy the UMS install file (UMS-Linux-15.6.0-x86_64.tgz) to this folder: /opt/ums
You will also probably have to use the sudo command.
EG: sudo cp ******* /opt/ums
sudo tar -xvzf UMS-Linux-15.6.0-x86_64.tgz
*** You should then have the UMS program folder: /opt/ums/ums-15.6.0

Start UMS by running:
/opt/ums/ums-15.6.0/UMS.sh
Or
./UMS.sh if already in the /opt/ums/ums-15.6.0 folder.
**You shouldn't have to use the sudo command as everyone has the x (execute) privilege.

See how that works out for you.
cooltwou
Posts: 79
Joined: Wed Aug 07, 2013 6:04 am
Location: Virginia

Re: Help with Linux Mint

Post by cooltwou »

it is not letting me put the folder in the UMS folder keeps saying permission dined
boss
Posts: 492
Joined: Thu Jun 30, 2016 1:07 pm

Re: Help with Linux Mint

Post by boss »

"it is not letting me put the folder in the UMS folder keeps saying permission dined"

Does that mean that you can create the ums folder and you can't put folders under ums.
Or
You cannot create the ums folder /opt/ums?

Is that happening when using the sudo command. EG: When in the opt folder running: sudo mkdir ums?

Do you have the sudo package installed on your linux box?
If you are not sure,
run: which sudo
Or
sudo -V

What is the output when you run: sudo -i
Post Reply