| 
 
				
					| 
  
  
    | Autor | Nachricht |  
    |  | 
        
					| Titel: Automount NAS volume 'fstab config for non-root ?  Verfasst am: 25.11.2006, 03:52 Uhr |  |  
    | 
        
          | 
  
 Anmeldung: 06. Jun 2005
 Beiträge: 77
 Wohnort: Sydney Australia
 
 |  | 
        
          | 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
 |  
          |  |  
         
	        |  |  |  
    |  |  
    |  |  
    |  | 
        
					| Titel:  Verfasst am: 25.11.2006, 07:14 Uhr |  |  
    | 
        
          | 
  
 Anmeldung: 21. Jun 2006
 Beiträge: 193
 Wohnort: Switzerland
 
 |  | 
        
          | 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
 |  
          | _________________
 Arlekin's Dream Ltd. | http://www.arlekin.ch/
 - Bernd Villiger et al. | http://www.penguin.ch/
 |  
         
	        |  |  |  
    |  |  
    |  |  
    |  | 
        
					| Titel:  Verfasst am: 25.11.2006, 22:59 Uhr |  |  
    | 
        
          | 
  
 Anmeldung: 06. Jun 2005
 Beiträge: 77
 Wohnort: Sydney Australia
 
 |  | 
        
          | Thanks for the quick reply will give it a go. Still learning not sure what the -o does found it on the NASlite site. |  
          | _________________
 Location: Sydney Australia
 |  
         
	        |  |  |  
    |  |  
    |  |  
    |  | 
        
					| Titel:  Verfasst am: 26.11.2006, 01:22 Uhr |  |  
    | 
        
          | 
  
 Anmeldung: 06. Jun 2005
 Beiträge: 77
 Wohnort: Sydney Australia
 
 |  | 
        
          | 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. ?
 |  
          | _________________
 Location: Sydney Australia
 |  
         
	        |  |  |  
    |  |  
    |  |  
    |  |  |  |