Code: Select all
sudo apt-get install nfs-common
Code: Select all
sudo apt-get install nfs-common
Code: Select all
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
#//192.168.0.5/Qmultimedia /mnt/Video cifs guest,uid=1000,gid=1000,iocharset=utf8 0 0
//192.168.0.5/Qmultimedia /mnt/Video cifs rw,user,username=admin,password=balbla,uid=1000,gid=1000,iocharset=utf8 0 0
Code: Select all
pi:x:1000:1000:,,,:/home/pi:/bin/bash
Code: Select all
[/] # grep pi /etc/passwd
pierre:x:500:100:Linux User,,,:/share/homes/pierre:/bin/sh
pi:x:1000:1000:Linux User,,,:/share/homes/pi:/bin/sh
Code: Select all
pi@raspberrypi:~ $ cat /etc/passwd | grep pi
pi:x:1000:1000:,,,:/home/pi:/bin/bash
Code: Select all
pi@raspberrypi:~ $ sudo mount -avvvvvvv
/proc : already mounted
/boot : already mounted
/ : ignored
Password for root@//192.168.0.5/Qmultimedia: ********
mount.cifs kernel mount options: ip=192.168.0.5,unc=\\192.168.0.5\Qmultimedia,noperm,user=root,pass=********
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
pi@raspberrypi:~ $ sudo mount -t cifs //192.168.0.5:/share/Qmultimedia /mnt/Video/
mount error: could not resolve address for 192.168.0.5:: Unknown error
pi@raspberrypi:~ $ sudo mount -t cifs //192.168.0.5/share/Qmultimedia /mnt/Video/
Password for root@//192.168.0.5/share/Qmultimedia: ********
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
pi@raspberrypi:~ $ sudo mount -t cifs //192.168.0.5/share/Qmultimedia /mnt/Video/ -o guest,noperm
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
pi@raspberrypi:~ $ sudo mount -t cifs //192.168.0.5/Qmultimedia /mnt/Video/ -o guest,noperm
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
pi@raspberrypi:~ $ sudo mount -t cifs //192.168.0.5:/Qmultimedia /mnt/Video/ -o guest,noperm
mount error: could not resolve address for 192.168.0.5:: Unknown error
pi@raspberrypi:~ $ sudo mount -t cifs //192.168.0.5/Qmultimedia /mnt/Video/ -o guest,noperm
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Same for me - almost convinced I gave a short reply on the very same query before.pierremillien wrote:i think I'm gonna become crazy with this story
Code: Select all
Access right: No limit
Squash option: ROOT_SQUASH
UID: Drone
Host/IP: <IP of the Ubuntu client>
Code: Select all
192.168.0.2:/Multimedia /nfs/multimedia nfs rw,hard,intr,rsize=8192,wsize=8192,timeo=14 0 0
Code: Select all
burningsky@ubuntu:~$ ls -l /nfs/
total 8
drwxrwxrwx 20 root root 4096 Jun 22 10:21 multimedia
burningsky@ubuntu:~$ sudo -u Drone touch /nfs/multimedia/test.file
burningsky@ubuntu:~$ ls -l /nfs/multimedia/
total 224
drwxrwxrwx 796 root root 36864 Jun 22 09:30 Movies
-rw-r----- 1 Drone nogroup 0 Jun 22 10:22 test.file
burningsky@ubuntu:~$ sudo -u Drone touch /nfs/multimedia/Movies/test.file
touch: cannot touch '/nfs/multimedia/Movies/test.file': Permission denied
Code: Select all
[/share/Multimedia] # mkdir test
[/share/Multimedia] # chmod 777 test
[/share/Multimedia] # ls -l
drwxrwxrwx 2 admin administ 4096 Jun 22 10:28 test/
Code: Select all
burningsky@ubuntu:~$ sudo -u Drone touch /nfs/multimedia/test/test.file
burningsky@ubuntu:~$ ls -l /nfs/multimedia/test
total 0
-rw-r----- 1 Drone nogroup 0 Jun 22 10:28 test.file
Code: Select all
burningsky@ubuntu:~$ ls -l /nfs/multimedia
total 232
drwxrwxrwx 796 root root 36864 Jun 22 09:30 Movies
drwxrwxrwx 2 root root 4096 Jun 22 10:28 test
Code: Select all
[/share/Multimedia] # ls -lh
drwxrwxrwx 796 admin administ 36.0k Jun 22 09:30 Movies/
drwxrwxrwx 2 admin administ 4.0k Jun 22 10:28 test/