[Samba] Need mount -t smbfs to be world/group writable & not only root

Taymour A. El Erian taymour.elerian at tedata.net
Tue Nov 18 09:30:31 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Ow Mun Heng wrote:

|Hi,
|
|    Need some pointers.
|
|Currently using
|
|mount -t smbfs -o username=xxx,pasword=xxx //servername/sharename
/mnt/share
|
|Since I can only mount as root, (not in /etc/fstab)
|
|sudo mount -t smbfs -o username=xxx,pasword=xxx //servername/sharename
|/mnt/share
|
|Problem here is.. I can't get group or world writeable permission on the
|share. It's a NTFS share but that is not a problem. I can write/read fine
|using root.
|
|What is the correct way to parse it to mount / smbmount to enable
|world/group writable? This is a home machine. No I-net. I don't care about
|the permissions.

use umask=000 in ount options

sudo mount -t smbfs -o umask=000,username=xxx,pasword=xxx
//servername/sharename
/mnt/share



- --
Taymour A El Erian
System Division Manager
CNA, MCSE, CCNA, LPIC
T.E. Data
E-mail: taymour.elerian at tedata.net
Web:     www.tedata.net
Tel:    +(202)-4166600
Ext:    1101

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/ueauX1dv4NHexooRArHvAJ9dMlB3lt+I3FAUgNkpcjpEiM1BxQCgg+yu
6niVCHX5hPfh0G0rsp/ZZtk=
=3yK1
-----END PGP SIGNATURE-----





More information about the samba mailing list