La situazione è la seguente.
Fstab prevede il montaggio automatico di due cartelle di rete (su nas)
Codice: Seleziona tutto
# /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>
# / was on /dev/sda1 during installation
UUID=c7916c83-0ae9-4e12-a171-79646e60106d / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=e5248574-49a8-41f1-be19-f87801edd474 none swap sw 0 0
#nas share
//192.168.1.114/server/ATTI /media/Colleg_ATTI cifs user=<user>,password=<password> 0 0
//192.168.1.114/scan /media/Colleg_SCAN cifs user=<user>,password=<password> 0 0
Errore nell'aprire il file «/media/Colleg_ATTI/MARCO/nome cartella /nome file accesso negato saltare?
se provo ad aprire dei files.doc o odt o xls in rete (sfogliando la rete e bypassando il collegamento che crea fstab) non riesco ad aprirli e mi restituisce errore I/O durante l'accesso a /run/user/1000/gvfs/smb-share:server=diskstation,share/ATTI/nome file
questo è ls -l di media
Codice: Seleziona tutto
marco@marcoM90z:/$ ls -l
totale 104
drwxr-xr-x 2 root root 4096 mar 28 17:31 bin
drwxr-xr-x 3 root root 4096 apr 5 15:51 boot
drwxrwxr-x 2 root root 4096 mar 26 12:19 cdrom
drwxr-xr-x 20 root root 4320 apr 10 15:16 dev
drwxr-xr-x 141 root root 12288 apr 5 15:51 etc
drwxr-xr-x 3 root root 4096 mar 26 12:22 home
lrwxrwxrwx 1 root root 32 apr 5 15:50 initrd.img -> boot/initrd.img-4.4.0-72-generic
lrwxrwxrwx 1 root root 32 apr 4 12:19 initrd.img.old -> boot/initrd.img-4.4.0-71-generic
drwxr-xr-x 23 root root 4096 mar 26 17:26 lib
drwxr-xr-x 2 root root 4096 mar 26 15:31 lib64
drwx------ 2 root root 16384 mar 26 12:17 lost+found
drwxrwxrwx 5 root root 4096 mar 30 10:48 media
drwxr-xr-x 2 root root 4096 lug 19 2016 mnt
drwxr-xr-x 7 root root 4096 mar 28 16:22 opt
dr-xr-xr-x 222 root root 0 apr 10 14:57 proc
drwxr-xr-x 2 root root 4096 mar 30 10:22 prova
drwx------ 6 root root 4096 apr 4 12:09 root
drwxr-xr-x 26 root root 780 apr 10 14:58 run
drwxr-xr-x 2 root root 12288 apr 4 12:18 sbin
drwxr-xr-x 2 root root 4096 giu 29 2016 snap
drwxr-xr-x 2 root root 4096 lug 19 2016 srv
dr-xr-xr-x 13 root root 0 apr 10 14:57 sys
drwxrwxrwt 13 root root 4096 apr 10 15:30 tmp
drwxr-xr-x 10 root root 4096 lug 19 2016 usr
drwxr-xr-x 14 root root 4096 lug 19 2016 var
lrwxrwxrwx 1 root root 29 apr 5 15:50 vmlinuz -> boot/vmlinuz-4.4.0-72-generic
lrwxrwxrwx 1 root root 29 apr 4 12:19 vmlinuz.old -> boot/vmlinuz-4.4.0-71-generic
Codice: Seleziona tutto
drwxrwxrwx 32 1024 users 0 apr 10 15:09 Colleg_ATTI
drwxrwxrwx 4 root root 0 apr 10 10:44 Colleg_SCAN
drwxrwxrwx+ 3 root root 4096 apr 10 15:16 marco