Networking Forums

Networking Forums > Computer Networking > Linux Networking > Samba shares keep reverting permissions and ownership

Reply
Thread Tools Display Modes

Samba shares keep reverting permissions and ownership

 
 
Mark Adams
Guest
Posts: n/a

 
      05-09-2006, 10:24 PM
I upgraded from Mandrake 10.1 to Mandriva 2006 yesterday. It went
pretty well, but I am having some issues connecting to samba shares on
my Mandrake 10.1-based server.

The shares worked fine under 10.1, but now I can't get them to mount
with read-write permission. I'm assuming this is a problem related only
to the mdrva 2006 client -- I haven't changed a thing on the server.

With the shares unmounted, I can set permissions at the mount points to
775 (rwxrwxr-x) owned by me (madams). Once I mount the shares, they
immediately revert to 755 (rwxr-xr-x) owned by root.

The logs appear to be silent on this.

Just for your reference here is the fstab line for mounting the shares
in question:
============
//shuttle/madams /mnt/shuttle/madams smbfs
credentials=/home/madams/.samba 0 0

//shuttle/server /mnt/shuttle/server smbfs
credentials=/home/madams/.samba 0 0

//shuttle/super /mnt/shuttle/super smbfs credentials=/home/madams/.samba 0 0
=============

Incidentally, the same thing happens when I mount the shares manually.
However, it appears that I can dismount, then mount the shares with
LinNeighborhood and they function correctly. That's okay for a
workaround, but I'd really like to get this sorted out and working like
it's supposed to from boot.


Here is the code from the samba server that defines the mounts:

============
[homes]
comment = Home Directories
browseable = no
writable = yes

[server]
create mask = 0775
comment = Public Stuff
path = /share
public = yes
writable = yes
read only = no
valid users = madams,sparkles,alex
# write list = @users

[super]
create mask = 0775
comment = Large share on Shuttle Server
valid users = madams,sparkles,alex
printable = no
writable = yes
public = yes
path = /mnt/super

============
--
Mark E. Adams, 2004 -- drop the "dot" to email me.
http://adamslan.shyper.com -*- Mandriva User# 263042

CONSIDER: ===========---------,,,,,,,,,............. . . . . .
If Roosevelt were alive, he'd turn over in his grave. -Samuel
Goldwyn
 
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
Enumerate shares and permissions =?Utf-8?B?ZmNydXNvbg==?= Windows Networking 4 04-05-2005 02:20 AM
Problems with shares and permissions Josh Windows Networking 1 03-16-2005 03:41 PM
SMB shares with Linspire / WinXP permissions stefanj Linux Networking 1 03-09-2005 10:55 PM
samba permissions on networked application Ken Linux Networking 2 02-02-2004 10:03 AM
Permissions on a windows drive through SAMBA N.K. Linux Networking 8 09-05-2003 06:28 PM



1 2 3 4 5 6 7 8 9 10 11