Ow Mun Heng
2003-Nov-18 09:24 UTC
[Samba] Need mount -t smbfs to be world/group writable & not only root
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. Cheers, .^. Mun Heng, Ow /V\ H/M Engineering /( )\ Western Digital M'sia ^^-^^ DID : 03-7870 5168 The Linux Advocate
Taymour A. El Erian
2003-Nov-18 09:30 UTC
[Samba] Need mount -t smbfs to be world/group writable & not only root
-----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@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-----