Just a couple ideas...

1. Make sure you can read and write to the directory as a normal user when
you log in locally.  If you can't then you need to check your perms again.

2. In fstab try just using Defaults instead of rw, (etc) (probably won't do
any good... but i know mine works with this.)

3. for the smb stuff... make sure you have the ability to authenticate a
user.  Most peer to peer setups use share level access rather than user
level.

HTH
    - Matt


----- Original Message -----
From: "Rob Blomquist" <[EMAIL PROTECTED]>
To: "redhat" <[EMAIL PROTECTED]>
Sent: Saturday, June 15, 2002 12:58 PM
Subject: File server headache


> I have a server in my house (print and file) that is driving me nuts with
file
> access. Basically, its a shared drive and neither my wife or I can write
to
> the drive as normal users, if I log in as root, I can write to the drive.
> Because it happens to both she and I, I think it has something to do with
> permissions or the fstab entry. But in the fairness of full disclosure, I
> have tired to provide all relavent info.
>
> The drive is a secondary drive mounted in the server and is accessable as
> /mnt/share to both clients the fstab line covering the mounting is:
>
> /dev/hdb3           /mnt/share              ext2    rw,user,exec,dev
0 0
>
> She accesses it through Samba, and smb.conf is:
>
> [global]
> path = /var/spool/samba
> smb passwd file = /etc/samba/smbpasswd
> passwd program = /usr/bin/passwd %u
> domain master = yes
> printing = cups
> dns proxy = no
> postscript = yes
> encrypt passwords = yes
> use password server option only with security = server
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> printcap name = /etc/printcap
> max log size = 50
> hosts allow = 192.168.1. 127.
> password level = 8
> printer = Epson
> passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
> username level = 8
> security = user
> unix password sync = Yes
> local master = yes
> workgroup = SOUTH_PARK
> netbios name = cartman
> log file = /var/log/samba/log.%m
> guest account = guest
> load printers = yes
> os level = 33
> username map = /etc/samba/smbusers
> [share]
>    comment = Tunes and Other Stuff
>     path = /mnt/share
>     read only = no
>     writable = yes
>     public = yes
>     browsable = yes
>
> I access it through NFS and exports contains:
> /mnt/share *(rw,no_root_squash)
>
> Permissions on the directories below /mnt/share are group=users and mode
777.
>
> do you guys have any idea why as normal users we cannot read and write to
this
> drive?
>
> Rob
>
> --
> Rob Blomquist
> Kirkland, WA
>
> On the side of the software box, in the 'System Requirements' section, it
said
> 'Requires Windows 95 or better'. So I installed Linux and lived happily
ever
> after.
>
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to