A
A
Andrey San2015-09-25 10:33:02
linux
Andrey San, 2015-09-25 10:33:02

Mount, where am I doing it wrong?

Good afternoon, I created an LV:
a0582b800b14454db4a032b52526c3e9.JPG
df -h
7db2528af94747e3844338358c831dda.jpg
cat /etc/fstab
de5b7f9c1bcf4afa9beb37c72c5addc8.JPG
mkdir
1513fca3931d4fea9dc930317f15e371.JPG
as root no problem, as a normal user, as you can see, there is no access to create files, only reading.
help me figure out what needs to be done so that ordinary users can use this LV

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
Ruslan Fedoseev, 2015-09-25
@martin74ua

ls -la /mnt/
and set correct permissions

H
hofry, 2015-09-25
@hofry

still show ls -la /mnt/

D
Dmitry Kashkovsky, 2015-09-25
@Zverushko

do 1 time
sudo chown -R admuser /mnt/new_disk

A
Andrey San, 2015-09-25
@admusers

88e252a1a8484e83aed2c9ab9791e731.JPG
what do you say?

I
Igor Bogachev, 2015-09-25
@illuminat17

Andrey San, as hofry rightly requires, it is necessary to show the output of the ls -la command in the /mnt/ directory.
Because you assign the rights with the chmod 777 /mnt/new_disk command, but do not check whether they have been assigned. We need to make sure of this. You also use a somewhat exotic syntax for the touch command. This is how it works, I checked it, but still, when you are not sure about something (as it is now), it is better to use the most common and proven methods.
touch /mnt/new_disk/b.txt - It would be more natural to read and also one character shorter.
In general, we are waiting for the output:
ls -la /mnt/
PS. Why are UUIDs different in fstab and lvdisplay ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question