Networking Forums

Networking Forums > Computer Networking > Linux Networking > Samba mounted subdirectories: ownerships damaged

Reply
Thread Tools Display Modes

Samba mounted subdirectories: ownerships damaged

 
 
rtn@zhwin.ch
Guest
Posts: n/a

 
      06-17-2005, 02:27 PM
The file server of our school has been "upgraded", presumebly to
Windows 2003.

I use Linux, mounting my file share with Samba. Since the the upgrade
all the subdirectories in my "share" get wrong uid/gid. I found out
that those uid/gid are the ones on that server. In end effect, I can
not read my own files.

This is how I do it. I can do any more debugging on the client side.
The server ofcourse is out-of-bounds for any "intruders" like me :-(

====================
- /etc/fstab:
//mustang/rtn /home/rtn/mustang smbfs
user,noauto,uid=1000,gid=100,username=rtn 0 0

- rtn@local$ mkdir ~/mustang

- suid-bit of smbmount is set

- rtn@local$ mount ~/mustang
Password:

- rtn@local$ ls -ld ~/mustang
drwxr-xr-x 1 rtn users 4096 2005-06-13 16:14 /home/rtn/mustang/

- rtn@local$ ls -l ~/mustang
drwx------ 1 10517 10000 0 2005-06-13 16:14 private
drwxr-sr-x 1 10517 10000 0 2005-06-02 17:31 public
drwx------ 1 10517 10000 0 2002-11-27 09:27 settings
drwxr-s--- 1 10517 1000 0 2005-05-30 08:15 www
^wrong! should be rtn:users 1000:100
=============

I've tried with Samba 3.0.10 (Slackware 10.1 original) and
self-compiled 3.0.14a.

This must be a known issue. Any clue?

 
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
Apache not serving from CIFS-mounted share, works if it's mounted asSMBFS Rick Onanian Linux Networking 3 03-27-2008 07:45 PM
Mapping to subdirectories below a share with the Net Use command is supported Windows XP it appears Spin Windows Networking 1 08-02-2006 02:17 PM
Samba clients can't see partitions mounted via loop device from image files Dave Burton Linux Networking 1 09-02-2005 05:32 PM
Website subdirectories: httpd.conf or nameserver? Rich Grise Linux Networking 16 12-31-2004 11:18 PM
Damaged network hub........... Martin Anderson Windows Networking 0 07-11-2003 11:24 AM



1 2 3 4 5 6 7 8 9 10 11