[Samba] Samba and 2k/NT4 server -shares readable but not writable
jlittle_97 at yahoo.com
Wed Feb 6 13:20:06 GMT 2002
Thank you very much, that got me to where I could
create/write to the windows share by adding the -o
uid=501 option to the mount command.
Is there a way to give group permissions to be able to
write to the share as well? I tried the
gid=nnn,dmask=000,fmask=000,rw options but it always
came down to only the user getting write permissions.
BTW, I log in as the user and then su to root to mount
I am only a couple of months into Linux but learning
quick! Any help is appreciated.
--- Buchan Milne <bgmilne at cae.co.za> wrote:
> > Message: 15
> > Date: Wed, 6 Feb 2002 01:38:41 -0800 (PST)
> > From: John Little <jlittle_97 at yahoo.com>
> > Reply-To: jlittle at computercentral-1.com
> > To: samba at lists.samba.org
> > Subject: [Samba] Samba and 2k/NT4 server -shares
> readable but not writable
> > Hello everyone,
> > I have Samba 2.2.2-3.2mdk setup on a workstation
> > accesses a w2k and NT4 server.
> > I can mount the 2k share ok to /mnt/disk, and I
> > read the documents and files on it. However I
> > write to it as a user-Access denied. When logged
> > as root or su everything works perfectly
> Who has mounted the /mnt/disk? If you mounted it as
> one user, then
> unless you have used mount options (see man
> "smbmount", specifically
> uid,gid,fmask,dmask), another user using the mount
> will not be able to
> access the files. The local permissions on the
> mounted share are
> dependant on mount-time options, not on the
> permissions on the server.
> > I have opened the permissions to allow guest and
> > everyone on both machines but the problem still
> > persists.
> Remember that the permissions applied on the windows
> side apply to the
> user who has connected. Thus if you have mounted as
> root, but made the
> mount world-writeable, then any user on the linux
> side will have the
> permissions of root (on the windows side).
> > I tried creating a document in a home directory
> > the copying it to /mnt/disk but got the same
> > I also stopped the bastille firewall and all other
> > such services.
> If you can successfully mount the share, firewalling
> is not an issue.
> You should be able to keep your firewall up for
> other services, by
> leaving ports 127-139 and 450? open.
> > Can anyone shoot me in the right direction to
> > this resolved?
> > Thanks to all!
> > John
> |----------------Registered Linux User
> Buchan Milne Mechanical Engineer,
> Network Manager
> Cellphone * Work +27 82 472 2231 * +27 21 808
> 2497 ext 202
> Stellenbosch Automotive Engineering
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
More information about the samba