Package: mount
Version: 2.17.2-9.1
Severity: normal

I have several lines in /etc/fstab that define user mountable CIFS shares. 
All of them I can mount by hand using 'mount <mountpoint>'. There are no 
other lines in fstab with type cifs (see below).
Excuting 'mount -at cifs' fails with 'only root can do that', which should not 
happen according to my understanding (based on reading man mount/fstab).
Likewise, 'umount -at cifs' fails with this error even if all shares have been 
mounted by the same non-root user who executes umount.


sts@nbofm020:~$ cat /etc/fstab
#/etc/fstab: static file system information.
#
# Use 'vol_id --uuid' 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>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda6 during installation
UUID=b15cf0d0-aa8c-4a84-853c-fa2ed192077b /               ext3    
relatime,errors=remount-ro 0       1
# /local/vmware was on /dev/sda7 during installation
UUID=47b8a644-f902-4408-b759-c04b22edd25e /local/vmware   xfs     noatime       
  0       2
# swap was on /dev/sda5 during installation
UUID=a2ca1da3-0219-4311-8d6c-72c52580cba4 none            swap    sw            
  0       0
UUID=a5828a5e-6ddb-4ec7-b1fa-f0e85c262f97 none            swap    sw            
  0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/mapper/data0 /local/data0  ntfs-3g 
noatime,uid=1001,gid=1000,umask=0022,exec,locale=de_DE.UTF-8 0  0
#
#
//ipmfas/ofm-projekte /ipmfas/ofm-projekte cifs 
relatime,user,iocharset=utf8,uid=1001,gid=1000,noserverino,nobrl,domain=IPMLAN,credentials=/home/sts/.credentials,file_mode=0664,dir_mode=0775,exec
//ipmfas/ofm-abtl /ipmfas/ofm-abtl cifs 
relatime,user,iocharset=utf8,uid=1001,gid=1000,nobrl,noserverino,domain=IPMLAN,credentials=/home/sts/.credentials,file_mode=0664,dir_mode=0775,exec
//ipmfas/bibliothek /ipmfas/bibliothek cifs 
user,iocharset=utf8,uid=1001,gid=1000,nobrl,noserverino,domain=IPMLAN,credentials=/home/sts/.credentials,file_mode=0644,dir_mode=0744,exec
//ipmnas/tools  /ipmnas/tools   cifs    
user,iocharset=utf8,uid=1001,gid=1000,nobrl,domain=IPMLAN,credentials=/home/sts/.credentials,file_mode=0664,dir_mode=0775,exec
//ipmfas/softtools /ipmfas/softtools cifs       
user,iocharset=utf8,uid=1001,gid=1000,nobrl,noserverino,domain=IPMLAN,credentials=/home/sts/.credentials,file_mode=0664,dir_mode=0775,exec
//ipmfas/patente /ipmfas/patente cifs   
user,iocharset=utf8,uid=1001,gid=1000,nobrl,noserverino,domain=IPMLAN,credentials=/home/sts/.credentials,file_mode=0664,dir_mode=0775,exec
//ipmint/public /ipmint/public  cifs    
user,iocharset=utf8,uid=1001,gid=1000,nobrl,domain=IPMLAN,credentials=/home/sts/.credentials,file_mode=0664,dir_mode=0775,exec
//info/ofm      /info/ofm       cifs    
user,iocharset=utf8,uid=1001,gid=1000,nobrl,domain=IPMLAN,credentials=/home/sts/.credentials,file_mode=0664,dir_mode=0775,exec
//edv-store/OFM_Archiv /edv-store/archiv cifs 
user,iocharset=utf8,uid=1001,gid=1000,nobrl,domain=IPMLAN,credentials=/home/sts/.credentials,file_mode=0444,dir_mode=0555
#

 



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mount depends on:
ii  libblkid1                     2.17.2-9.1 block device id library
ii  libc6                         2.13-7     Embedded GNU C Library: Shared lib
ii  libselinux1                   2.0.98-1.1 SELinux runtime shared libraries
ii  libsepol1                     2.0.42-1   SELinux library for manipulating b
ii  libuuid1                      2.17.2-9.1 Universally Unique ID library

mount recommends no packages.

Versions of packages mount suggests:
ii  nfs-common                    1:1.2.4-1  NFS support files common to client

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to