You are not logged in.
I'm running Arch Linux on my old eee 1000H laptop with XFCE as my DE. In my network I have a DroboFS as a file server and where I do my backups to. I wanted to do backups on my laptop over to the DroboFs server so I added this line to my fstab on the laptop
//192.168.0.4/Media /media/drobofs cifs iocharset=utf8,uid=af,gid=users,guest,dir_mode=0775 0 0
and I created a directory in /media called drobofs on the laptop. I reboot the laptop but when I click on the partition in thunar I get an error saying
mount: only root can mount partition //192.168.0.4/Media to /media/drobofs
why is this happening? I can mount usb drives as a user just fine and if I mount the partition on the drobo with
smb://192.168.0.4/Media then I get access to it as a user just fine. What am I doing wrong? I haven't used Xfce very long I'm used to KDE4.
Last edited by fettouhi (2013-12-11 18:37:24)
Offline
I am not sure if it helps but try installing gksu, altenatively you can mount your partition at boot in /etc/fstab
Offline
I am not sure if it helps but try installing gksu, altenatively you can mount your partition at boot in /etc/fstab
I have gksu installed already and like I wrote in my initial post I am mounting the partition via /etc/fstab already.
Offline
I don't use filemanagers to mount my filesystems, but
The fourth field (fs_mntops).
This field describes the mount options associated with the filesystem.It is formatted as a comma separated list of options. It contains at least the
type of mount plus any additional options appropriate to the filesystem type. For
documentation on the available mount options, see mount(8). For documentation on
the available swap options, see swapon(8).Basic file system independent options are:
defaults
use default options: rw, suid, dev, exec, auto, nouser, and async.noauto do not mount when "mount -a" is given (e.g., at boot time)
user allow a user to mount
owner allow device owner to mount
comment
or x-<name> for use by fstab-maintaining programsnofail do not report errors for this device if it does not exist.
Have you tried adding this option?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I don't use filemanagers to mount my filesystems, but
'man fstab' wrote:The fourth field (fs_mntops).
This field describes the mount options associated with the filesystem.It is formatted as a comma separated list of options. It contains at least the
type of mount plus any additional options appropriate to the filesystem type. For
documentation on the available mount options, see mount(8). For documentation on
the available swap options, see swapon(8).Basic file system independent options are:
defaults
use default options: rw, suid, dev, exec, auto, nouser, and async.noauto do not mount when "mount -a" is given (e.g., at boot time)
user allow a user to mount
owner allow device owner to mount
comment
or x-<name> for use by fstab-maintaining programsnofail do not report errors for this device if it does not exist.
Have you tried adding this option?
//192.168.0.4/Media /media/drobofs cifs iocharset=utf8,uid=af,gid=users,guest,dir_mode=0775 0 0
uid=af,gid=users
Offline
Hello,
Please use [ code] [/code ] tags (without spaces) for a clearer output of the commands.
This is betterSecondly, the uid and gid only defines the owner of the filesystem, but the user option allow simple user to mount the filesystem. You should have this:
//192.168.0.4/Media /media/drobofs cifs iocharset=utf8,uid=af,gid=users,guest,dir_mode=0775,user 0 0As an alternative, you may want to use the auto option to automatically mount your file system at the system boot, or the systemd auto mount option (see https://wiki.archlinux.org/index.php/systemd#Automount), using a timeout of several seconds to wait for the network to connect with the x-systemd.device-timeout option (this is the best solution IMHO).
Last edited by Nicop (2013-12-11 14:57:59)
Offline
Hello,
Please use [ code] [/code ] tags (without spaces) for a clearer output of the commands.
This is betterSecondly, the uid and gid only defines the owner of the filesystem, but the user option allow simple user to mount the filesystem. You should have this:
//192.168.0.4/Media /media/drobofs cifs iocharset=utf8,uid=af,gid=users,guest,dir_mode=0775,user 0 0As an alternative, you may want to use the auto option to automatically mount your file system at the system boot, or the systemd auto mount option (see https://wiki.archlinux.org/index.php/systemd#Automount), using a timeout of several seconds to wait for the network to connect with the x-systemd.device-timeout option (this is the best solution IMHO).
Adding the ,user to the line made it work. Many thanks for the tip. But it strange I'm using this line
//192.168.0.4/Media /media/drobofs cifs iocharset=utf8,uid=af,gid=users,guest,dir_mode=0775 0 0on my main machine running Arch Linux 64 bit with KDE4 and Dolphin mounts the directory with no issues. so I'm a bit confused to why Thunar won't allow me to mount the directory without the ,user at the end.
Offline