M
M
Mikhail Tchervonnko2016-11-03 23:57:51
Debian
Mikhail Tchervonnko, 2016-11-03 23:57:51

Combine minidlna, owncloud and ftp access to the same Video, Photos and other folders?

Good day to everyone,
I installed all 3,
the storage with the Video, Photos and other folders is located on an external hdd with ntfs
if I mount it like this
UUID=5030C3903B6590DF /media/usbhdd/ auto nofail,uid=33,gid=33,umask=0027,dmask =0027,noatime 0 0 then
owncloud works but there is no access to folders on the disk via ftp and
minidlna , says make the rights 0770 to the storage. it is visible between users (although if you entered the web interface before changing the rights of the mounted disk, everything works, the check occurs only when you enter owncloud) I also tried to add ,umask=0007,dmask=0007 like this

UUID=5030C3903B6590DF /media/usbhdd/ ntfs-3g utf8,auto,users,umask=0007,dmask=0007 0 0
ftp and minidlna continue to work but the owncloud web interface completely falls off on the network, I
came across an advice to simply disable the check in the php code of owncloud, but the next update will have to do it again and it's ugly. But this is precisely the main snag. ownCloud was set up for itself and its needs, therefore, the access of other users between folders is not very disturbing.
In fact, you need to make access to the same folders for www-data, pi and minidlna users, and
everything else on the same disk there is a folder with the svn database, but it seems to work in almost all scenarios
, please don’t kick much, unix is ​​not my forte
Thanks
------------------------------------------------
solved the problem having created a usbhddgrp group with id 1001
, added all three users to it and mounted it like this
UUID=5030C3903B6590DF /media/usbhdd/ ntfs-3g utf8,uid=pi,gid=1001,umask=0007,dmask=0007,noatime 0 0
and everything worked
................................................. ..............
sorry, it was probably quite easy, but so far I guessed ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
silverjoe, 2016-11-04
@RusMikle

Make a group, include all three demons there and set the rights to all folders to 0770 - everyone is happy, the problem is solved

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question