l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Mar 01 19:03

The following is an archive of a post made to our 'vox mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox] Mounting a Shared Win2k Drive for Students--no write access?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox] Mounting a Shared Win2k Drive for Students--no write access?

Sorry about the self-reply, I submitted and re-read your message:

On Tue, Mar 01, 2005 at 06:05:32PM -0600, Jeremy Turner wrote:
> mount -t smbfs -o
> username=student,password=abc123,uid=unixuid,gid=unixgid,umask=002
> //sharename/Students /S-Drive

Two things to note:

1) file permissions are set by 'umask' not 'unmask'.  I don't know if that
was a typo in your email not.

2) you will need to use 'gid=students' in conjunction with 'umask=002'.
Only putting gid will give you a read-only mode of 755 for the student
group, and only doing unmask=000 would do you nothing (see #1).  If you
only did umask=000, that would probably work, however it may not be what
you want.

vox mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.