Networking Forums

Networking Forums > Computer Networking > Linux Networking > mounting windows shares r/w -- still not working

Reply
Thread Tools Display Modes

mounting windows shares r/w -- still not working

 
 
Michael Powe
Guest
Posts: n/a

 
      09-15-2003, 12:39 PM
hello,

following some advice, i tried and failed with the following attempts:

sudo mount -t smbfs -o credentials=.smb_auth_pdx,dmask=777,rw
//pdxpowem03/NetIQ pdxpowem03

sudo mount -t smbfs -o credentials=.smb_auth_pdx,dmask=0770,fmask=0770,rw
//pdxpowem03/NetIQ pdxpowem03

and various combinations of these parameters. i also tried putting it
into fstab, viz.

//pdxpowem03/NetIQ /home/powem/pdxpowem03 smbfs
dmask=777,rw,users,noauto,credentials=/home/powem/.smb_auth_pdx

every attempt results in a directory that is owned by root and
read-only. this really ticks me off. how can it be this freaking
difficult to mount a share so that it can be USED?? am i expected
to work as ROOT in order to use a samba share??

this makes samba basically useless to me as a mechanism for sharing
files. the point of accessing these files remotely is to be able to
actually WORK with them.

thanks for any help in sorting this.

mp

--
cat: /home/powem/.signature: No such file or directory
 
Reply With Quote
 
 
 
 
/dev/rob0
Guest
Posts: n/a

 
      09-15-2003, 03:26 PM
In article <(E-Mail Removed)>, Michael Powe wrote:
> following some advice, i tried and failed with the following attempts:


Have you had a look at "man mount" yet? How well do you understand Unix
permissions overall? You might want to read up on that as well (look for
tutorials on the Web, and "man chmod".)

> sudo mount -t smbfs -o credentials=.smb_auth_pdx,dmask=0770,fmask=0770,rw
> //pdxpowem03/NetIQ pdxpowem03


This one would work with appropriate GID (and/or UID) option given. I
use these options with smbfs mounts:
fmask=664,dmask=775,gid=100
where group 100 (users) is a common group with all the users who should
have access to the share. If only one user is accessing it, try this:
fmask=640,dmask=750,uid=1000,gid=1000
UID 1000 is the only user with read-write permission. GID 1000 (in many
distros, users are put in exclusive primary groups where $GID == $UID)
has read-only access, and all others are excluded.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
Michael Powe
Guest
Posts: n/a

 
      10-03-2003, 04:30 PM
>>>>> "/dev/rob0" == /dev/rob0 <(E-Mail Removed)> writes:

/dev/rob0> In article <(E-Mail Removed)>, Michael
/dev/rob0> Powe wrote:
>> following some advice, i tried and failed with the following
>> attempts:


/dev/rob0> Have you had a look at "man mount" yet? How well do you
/dev/rob0> understand Unix permissions overall? You might want to
/dev/rob0> read up on that as well (look for tutorials on the Web,
/dev/rob0> and "man chmod".)

yes, dear, i practically memorized it; and i'm fully conversant with
'chmod', including the fact that a user can't chmod a directory owned
by root. but that doesn't matter because it still wouldn't work even
if i su'ed to root and tried it.

thanks anyway, but for whatever reason, i was able to get smbmount to
do it. i'll just chalk it up to experience & hope i don't experience
it again.

i appreciate the answers, thanks to all.

mp

--
cat: /home/powem/.signature: No such file or directory
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting Windows 2003 shares on Linux - SMB Signing Andy Wolsten Windows Networking 2 06-16-2006 02:55 AM
Mounting smb shares after vpn (pptpconfig) skurk Linux Networking 0 11-30-2005 05:33 AM
Mounting shares over multiple win server 2003 drives josh.moore.it@gmail.com Linux Networking 1 11-02-2005 07:25 PM
Mounting a remote Windows file system? Jim Ford Linux Networking 4 10-25-2005 04:16 PM
mounting mppe connected windows server stephen Linux Networking 0 09-02-2004 04:02 AM



1 2 3 4 5 6 7 8 9 10 11