K
K
kovalr2015-12-07 20:21:54
linux
kovalr, 2015-12-07 20:21:54

How to mount samba without root access to the mount point?

I'm trying to mount according to the manual

mount -t cifs //172.16.10.1/private /mnt/win/ -o user=admin,pass=secret

the /mnt/win/ folder is created with root only permission.
And it is necessary that access was in the user.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Tsilyurik, 2015-12-07
@kovalr

$ man 8 mount.cifs

A
Andrey Burov, 2015-12-07
@BuriK666

chown user:group /mnt/win

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question