
저는 시놀로지 NAS를 가지고 있습니다. Linux에서 cifs 디렉토리를 잘 마운트할 수 있습니다(centos 6과 Ubuntu 12를 모두 시도했습니다). 나는 그것에 대해 아무것도 실행할 수 없다는 점을 제외하고는 모든 것을 잘 할 수 있습니다. 탭을 눌러 완료하려고 하면 실행 파일은 표시되지 않고 디렉터리만 표시됩니다. 실제로 실행 파일을 입력하면 루트로 시도해도 "권한이 거부되었습니다"라고 표시됩니다.
내 fstab은 다음과 같습니다
//172.22.1.3/public/data /data cifs user,uid=501,rw,suid,credentials=/etc/credentials 0 0 auto
내가 리눅스 측에서 뭔가 잘못하고 있는 걸까? 아니면 일반적인 문제인 Synology나 NAS입니까?
감사해요.
답변1
이것은 정말 오래된 질문이지만 동일한 문제를 해결하려고 시도한 것으로 나타났습니다. 나는 해결책을 찾았다고 생각합니다(적어도 나에게는 효과가 있었습니다).
"사용자" 옵션을 제거하면 문제가 해결되는 것으로 나타났습니다. 또는 "user" 대신 "user,exec"를 사용하는 경우입니다.
마침내 맨 페이지의 한 버전 하단에서 발견했습니다.
user Allow an ordinary user to mount the filesystem. The name of the
mounting user is written to the mtab file (or to the private
libmount file in /run/mount on systems without a regular mtab)
so that this same user can unmount the filesystem again. This
option implies the options noexec, nosuid, and nodev (unless
overridden by subsequent options, as in the option line
user,exec,dev,suid).