l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2005 Mar 02 15:11

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?



On Wed, Mar 02, 2005 at 11:59:02AM -0800, Steve Hargadon wrote:
> Still crazy over this one.
> 
> Here is my command:
> 
> mount -t smbfs -o
> rw,username=student,password=abc123,uid=210,gid=200,umask=002
> //wind2ksrv/Students /S-Drive/
> 
> When I "ll" the directory I get 
> 
> drwxr-xr-x  1  aharrington  students  ...
> 
> So it seems like everything is working except the permissions.  And if
> the root can get write permissions, I figure that has to mean that
> there is nothing from the Windows side getting in the way here?
> 
> Any help greatly appreciated. 
> 
> Steve

Are the access permissions on the remote computer set correctly?

> 
> On Tue, 1 Mar 2005 18:05:32 -0600, Jeremy Turner <jeremy@linuxwebguy.com> wrote:
> > On Tue, Mar 01, 2005 at 02:03:23PM -0800, Steve Hargadon wrote:
> > > I've mounted a shared Win2k directory in a K12LTSP 4.2 setup at a
> > > school where the students have traditionally all saved their work on
> > > their old Windows machines.
> > >
> > > No matter what I do, I can't seem to get write access for the student
> > > group id to be able to save documents.  Root can save, although it is
> > > asked for a password confirmation, but nothing I have done has changed
> > > the write permissions for the group.
> > >
> > > Here is the mount command I have used:
> > >
> > > mount -t smbfs -o username=student,password=abc123
> > > //sharename/Students /S-Drive
> > 
> > I usually use something like:
> > 
> > mount -t smbfs -o username=student,password=abc123,uid=unixuid,gid=unixgid,umask=002 //sharename/Students /S-Drive
> > 
> > where username/password correspond to the Win2k user, uid/gid correspond
> > to the Linux user/group, and umask corresponds to the umask, giving the
> > uid user and gid group 775 access to the system.
> > 
> > Jeremy
> > _______________________________________________
> > vox mailing list
> > vox@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox
> > 
> 
> 
> -- 
> Steve Hargadon
> 916-899-1400 direct
> _______________________________________________
> vox mailing list
> vox@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox

-- 
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
vox mailing list
vox@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox


LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
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:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.