kanotix.com

Networking - Automount NAS volume 'fstab config for non-root ?

cliff99 - 25.11.2006, 03:52 Uhr
Titel: Automount NAS volume 'fstab config for non-root ?
Below is my fstab at the end is the NAS mount(Using NASlite) . When I try mounting using Desktop NAS icon it says mount needs root. Can i set to mount not root but user.

The volume mounts fine from console with root login.

Otherwise can i run a mount in rc.local at boot.?

Basically I want to be able to click on the Desktop Icon for my NAS and access my files on the server.

thanks for any help you can give.


# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
/dev/hda5 / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /media/hda1 ntfs auto,users,exec,ro,umask=000 0 0
/dev/hda3 /media/hda3 vfat auto,users,exec,umask=000,shortname=mixed,quiet 0 0
/dev/hda6 none swap sw 0 0
/dev/hda7 /media/hda7 reiserfs auto,users,exec 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0

none /sys sysfs defaults 0 0
//192.168.1.22/Disk-0 /media/NAS-Disk1 -o username=nas,password=public,dmask=777,fmask=777
arlekin - 25.11.2006, 07:14 Uhr
Titel:
Only guessing ... but what about adding user,auto to the list of mount options mentioned in the according entry to fstab - where, by the way, the -o itself may prove counterproductive ...

HTH
Birdy
cliff99 - 25.11.2006, 22:59 Uhr
Titel:
Thanks for the quick reply will give it a go. Still learning not sure what the -o does found it on the NASlite site.
cliff99 - 26.11.2006, 01:22 Uhr
Titel:
arlekin hat folgendes geschrieben::
Only guessing ... but what about adding user,auto to the list of mount options mentioned in the according entry to fstab - where, by the way, the -o itself may prove counterproductive ...

HTH
Birdy


Still having the same issue have to mount through console as root.

Any more ideas. ?
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007