문제1.

터미널에서는 nfs가 정상적으로 마운트 되는데, mpd의 nfs plugin은 permission denied를 띄우며 nfs(라이브러리)에 접근하지 못함.


결론은 서버의 nfs 공유 설정(/etc/exports)에 insecure 옵션을 줘야한다고..

nfs plugin은 nfs3 까지만 지원해서 그렇다나 뭐라나..


아래는 mpd 공홈의 nfs plugin 관련 내용

nfs

Allows MPD to access files on NFSv3 servers without actually mounting them (i.e. in userspace, without help from the kernel's VFS layer). All URIs with the nfs://scheme are used according to RFC2224. Example:

mpc add nfs://servername/path/filename.ogg

Note that this usually requires enabling the "insecure" flag in the server's /etc/exports file, because MPD cannot bind to so-called "privileged" ports. Don't fear: this will not make your file server insecure; the flag was named in a time long ago when privileged ports were thought to be meaningful for security. By today's standards, NFSv3 is not secure at all, and if you believe it is, you're already doomed.


문제2.

아직 문제랄껀 아니고, 호스트 단위로 동일한 권한을 주는건 기분이 좀 그럼.

음악 파일이야 뭐 남이 보면 안되는건 아니다만, 분명 방법이 있을꺼라는 호기심 발동.

조만간 동일 유저에 대해서 권한 승계되도록 설정해볼 생각.

squash 어쩌구 옵션이 있는 듯 함.

man page는 이러함

https://linux.die.net/man/5/exports

'홈서버 (리눅스) > 미디어 서버' 카테고리의 다른 글

mpd 라이브러리 스캔 설정  (0) 2017.07.03