M
M
Maxim2016-12-08 22:38:59
linux
Maxim, 2016-12-08 22:38:59

Why is sudo required to write to mounted partitions?

Ubuntu is on the btrfs partition.
There are 2 logical partitions on NTFS storing files (for access from under Windows), mounted automatically at system startup.
Problem: root permissions are required to write files to them every time (sudo mega cloud, git kraken, ruby ​​new app, ...)
How to fix this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
ipc_ngs, 2016-12-08
@BaR_LOG

If NTFS partitions are mounted via /etc/fstab , then add the uid=username,gid=groupname options there for the desired user and group.

E
Erelecano Oioraen, 2016-12-08
@Erelecano

allow_other

S
sim3x, 2016-12-08
@sim3x

Mount them in the /media/$USERNAME/whatever_you_want_name/ directory owned by your $USERNAME

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question