[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fstab Questions (Final time)




On 03/18/2019 11:36 AM, Dan Ritter wrote:
Stephen P. Molnar wrote:
I now have a system that boots without any problems.

The fstab is:

# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=71f1ed49-9178-4bbc-b872-510f7982e245 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=4b041dec-d00f-4acf-a731-f6a34d885105 none swap sw 0 0
UUID=900b5f0b-4f3d-4a64-8c91-29aee4c6fd07 /sdb1 ext4 rw,users,defaults 0 0
UUID=1f363165-2c59-4236-850d-36d1e807099e /sdc1 ext4 rw,users,defaults 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0

comp@AbNormal:/sdc1/Apps$ l
total 68208
drwxr-xr-x 27 comp comp 4096 Jan 1 09:17 Fortran
-rwxrwxrwx 1 comp comp 69826864 Mar 18 10:16
Miniconda3-latest-Linux-x86_64.sh
drwxr-xr-x 57 comp comp 4096 Feb 11 13:24 Models
drwxr-xr-x 3 comp comp 4096 Mar 17 08:43 orca
drwxr-xr-x 41 comp comp 4096 Feb 2 13:02 Python

Unfortunately, when I attemped running MMiniconda3-latest-Linux-x86_64.sh I
got;

in part:

Miniconda3 will now be installed into this location:
/home/comp/miniconda3

- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below

[/home/comp/miniconda3] >>> /sdc1/Apps/miniconda3
PREFIX=/sdc1/Apps/miniconda3
installing: python-3.7.1-h0371630_7 ...
Miniconda3-latest-Linux-x86_64.sh: 370: Miniconda3-latest-Linux-x86_64.sh:
/sdc1/Apps/miniconda3/pkgs/python-3.7.1-h0371630_7/bin/python: Permission
denied

Even I can see that I have a permissions problem.

from man mount:

users  Allow any user to mount and to unmount the filesystem,
        even when some  other  ordinary  user mounted it.  This option
        implies the options noexec, nosuid, and nodev

noexec overrules your permissions.

-dsr-



This makes sense. So what is the solution? Remove users from the fstab entries?

--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1


Reply to: