Re: Samba fstab

From: Alexander Dalloz (alexander.dalloz_at_uni-bielefeld.de)
Date: 04/24/04

  • Next message: Philip A. Chapman: "Re: microsoft sql server 2000"
    Date: Sat, 24 Apr 2004 03:02:46 +0200
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    
    
    

    Am Sa, den 24.04.2004 schrieb Adam T. Gautier um 01:40:

    > I tried running "sudo chmod -s /usr/bin/smbmount /usr/bin/smbumount"

    Not smbmount has to be chmod u+s!

    > now mount reports:
    >
    > libsmb based programs must *NOT* be setuid root.
    > 4067: Connection to TK-MARKETING failed
    > SMB connection failed
    >
    > So, again how would I set the /etc/fstab so that a user can mount the
    > SMB share?

    1) su - <enter root password>
    2) chmod u+s /usr/bin/smbmnt /usr/bin/smbumount
    3) in /etc/fstab entry line for samba share mounts at 4th column
    something like
    credentials=/home/$user/.samba,uid=500,gid=500,rw,umask=002,noauto,users
    4) mount samba shares then run like
    mount /mn/samba_mountpoint

    Alexander

    -- 
    Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
    Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2179.nptl
    Sirendipity 02:57:28 up 5 days, 9:43, load average: 0.52, 0.42, 0.30 
                       [ Γνωθι σ'αυτον - gnothi seauton ]
                 my life is a planetarium - and you are the stars
    
    

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    


  • Next message: Philip A. Chapman: "Re: microsoft sql server 2000"

    Relevant Pages

    • Re: SMB Shares
      ... > could be the chmod u+s that I set on smbmount and smbmount? ... After setting this in fstab I can mount as user foo ... Fedora GNU/Linux Core 1 on Athlon CPU kernel 2.4.22-1.2174.nptl ...
      (Fedora)
    • Re: Adding a new hard drive
      ... 2, create the mount point; ... He probably won't need to use the chmod as the access mode should be still set to 755. ... Could have used "init 5" if it was used as a desktop system, but since it's not, starting X isn't required. ...
      (alt.os.linux.suse)
    • Re: usb storage device user permissions / rights
      ... > Purley guessing here but have you tried to chmod the device? ... since FAT doesn't do permissions, the permissions must be faked at mount ... type vfat, it is not automatically mounted at boot time, any user can ...
      (comp.os.linux.misc)
    • Re: Ownership and Permissions...
      ... Is this a mount point for something like a FAT file system? ... chmod, chown, and chgrp won't have any effort. ... it either needs to have its group changed (chgrp) and/or ... HFS, or NFTS file system, the chgrp and chmod commands won't work. ...
      (comp.os.linux.misc)
    • Cant chmod a usb drive
      ... that I can't do either a chmod or a chgrp on the newly ... I can handle the group problem in Apache, ... just logon and do everything as root). ... So far a search of man mount hasn't produced anything. ...
      (comp.os.linux.misc)