I don't have permission to mount a smb share with the mount command or by using /etc/fstab, but I'm able to use the smb protocol in Nautilus (smb://10.1.1.1/share), for example ...sIs it possible to grep a file or use any command in it in these conditions like I do in local files?I'm running openSUSE 13.1 with LXDE.$ uname -aLinux thom 3.11.6-4-desktop #1 SMP PREEMPT Wed Oct 30 18:04:56 UTC 2013 (e6d4a27) x86_64 x86_64 x86_64 GNU/Linux$ mountdevtmpfs on /dev type devtmpfs (rw,relatime,size=944020k,nr_inodes=236005,mode=755)tmpfs on /dev/shm type tmpfs (rw,relatime)tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)/dev/sda1 on / type ext4 (rw,relatime,data=ordered)proc on /proc type proc (rw,relatime)sysfs on /sys type sysfs (rw,relatime)tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)tmpfs on /var/run type tmpfs (rw,nosuid,nodev,relatime,mode=755)/dev/sda2 on /home type ext4 (rw,relatime,data=ordered)$ ls -a ~/.gvfsls: no  possvel acessar /home/thom/.gvfs: Arquivo ou diretrio no encontrado
How do I grep a file in a smb mount point without using mount or fstab?
linux;command line;grep;samba;smb
Nautilus uses GVFS internally. GVFS itself only caters for applications that use the Glib library to access files.Make sure that you have the gvfs-fuse package installed. This package contains the program gvfs-fuse-daemon which makes all GVFS filesystems available as normal mounted filesystems.gvfs-fuse-daemon should start automatically when you first access a GVFS system, for example when you connect to a remote Samba drive in Nautilus. If it doesn't, try doingmkdir -p ~/.gvfs/usr/lib/gvfs/gvfs-fuse-daemon ~/.gvfsGVFS filesystems are all mounted in subdirectories of ~/.gvfs. Some recent distributions use /run/user/500/gvfs instead, where 500 is your user id (you can display it with id -u).You can even do the mounting on the command line:gvfs-mount smb://10.1.1.1/share