V
V
vampire3332016-11-26 17:48:41
Debian
vampire333, 2016-11-26 17:48:41

How to change permissions on a debian 8 folder?

I have a /share folder

[email protected]:~# ls -l /share/
total 8
drwxr-xr-x 2 nobody nogroup 4096 Nov 26 17:32 2tb

I mount a disk on ntfs into it,
mount /dev/sdb1 /share/2tb
after that the rights change to:
[email protected]:~# ls -l /share/
total 8
drwxrwxrwx 1 root   root    4096 Nov 26 17:18 2tb

and further change with
chown -R nobody:nogroup /share/2tb gives nothing.
How can I set the rights nobody:nogroup I need on the mounted folder?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2016-11-26
@opium

In the mount options, you can specify the user and group uid guid

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question