NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

kcallis's avatar
kcallis
Aspirant
Jan 26, 2013

Mounting an admin directory via smb or nfs

I just started using Plex located on my Ubuntu box, I also added sickbeard, sabnzbd+, sickbeard, etc. I have been trying to mount from my nv+ v1 (running RAIDiator 4.1.10) where my video shares are located which of course are all owned by admin. Thus far, I have not been successful, and although I can mount via sshfs, that is not really optimal. I have check, and my security mode is set to USER. Currently, my /etc/fstab looks like this:

fstab

kcc@gallifrey:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=4d497d20-0594-4b11-8784-d7ce311d03d5 /boot ext2 defaults 0 2
/dev/mapper/ubuntu-swap_1 none swap sw 0 0
//fs1/media/Calibre_Library /home/kcc/Documents/E-Books/Calibre_Library cifs user=admin,uid=98,gid=98,credentials=/home/kcc/.smbcredentials,iocharset=utf8,dir_mode=0777,file_mode=0777,rw 0 0
//fs1/media/Videos/Movies /home/kcc/Videos/Movies user=admin,uid=98,gid=98,credentials=/home/kcc/.smbcredentials,iocharset=utf8,dir_mode=0777,file_mode=0777,rw 0 0
//fs1/media/Videos/TV/Series /home/kcc/Videos/TV/Series cifs user=admin,uid=98,gid=98,credentials=/home/kcc/.smbcredentials,iocharset=utf8,dir_mode=0777,file_mode=0777,rw 0 0


I get the following message when I attempt to mount:


kcc@gallifrey:~$ sudo mount -t cifs -o username=admin,password=netgear1,uid=98,gid=98 //fs1/media/Video/Movies /home/kcc/Videos/Movies/
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


I have also tried also tried changing the uid and gid to my local uid and gid for user kcc, and no go. I don't really care if I have to mount using NFS (although I would prefer cifs), but I need to be able to mount with r/w privileges for that mount. Any pointers would be greatly appreciated!

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More