[NBLUG/talk] mounting & permissions on samba share
micxz
micxz at micxz.com
Fri Jan 22 14:27:37 PST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everyone. I have what I think should be a simple Q. I would like
to know how I can mount my samba share on my laptop and be able to
create files or folder with the correct permissions. Every time I try,
I need to login to the server (mars) and change permissions before I
can write to the share.
As root I:
mount -t cifs //10.10.10.2/backupdrive /media/marsmnt -o user=micxz
Password: ******
Then as regular user:
micxz at phybernuker:/media/marsmnt> mount | grep mars
//10.10.10.2/backupdrive on /media/marsmnt type cifs (rw,mand)
micxz at phybernuker:/media/marsmnt> mkdir test
mkdir: created directory `test'
micxz at phybernuker:/media/marsmnt> touch test/file
touch: cannot touch `test/file': Permission denied
micxz at phybernuker:/media/marsmnt> chmod 770 test/
chmod: changing permissions of `test/': Operation not permitted
Thanks for any input. - Micxz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAktaJlkACgkQSyh53PiSKK+HjgCdGWavKkBBeDaJHUo5z92Nz3Wd
9GsAnirtCwiKeQ3Zuwqapxrh6l/s+Aph
=pE+5
-----END PGP SIGNATURE-----
More information about the talk
mailing list