[PATCH] smbfs: smbfs do not honor uid, gid, file_mode and dir_mode supplied by user mount

[PATCH] smbfs: smbfs do not honor uid, gid, file_mode and dir_mode supplied by user mount

Post by Haroldo Ga » Fri, 24 Sep 2004 21:10:07


This is a multi-part message in MIME format.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/
Hi,

This patch fixes "Samba Bugzilla Bug 999". The last version (2.6.8.1) of
smbfs kernel module do not honor uid, gid, file_mode and dir_mode
supplied by user during mount. This bug is also logged as "Kernel Bug
Tracker Bug 3330".
To fully work, some modifications are needed to samba smbmount.c and
smbmnt.c files. Those patches are available at Samba and Kernel Bug
Tracker pages.
After those patches, if the user do not supply any of the parameters
above, the uid, gid, file_mode and dir_mode on the server will be used
by the client.

Haroldo Gamal
 
 
 

1. [RFC PATCH] HFSPlus: fix mount uid/gid bug

2. Question concernig mount smbfs

Hi all
I have a problem with mount of smbfs.

I try to connect to windows xp share directory.
So I did :
$>mount -t smbfs //winxp/sharedir /share

But I couldn't succeed in mounting.
This is error message : " smbfs: mount_data version 0 is not supported "

My mount utility did not support smbfs?
Can anyone help me?

Thanks....

** If anyone need more information, i'll tell him **

3. mounting smbfs ownership problem (again)

4. mount -t smbfs ... only root can do that

5. OT: mount -t smbfs crash

6. smbfs: bad mount msg

7. Mounting a Remote CD-RW Drive using SMBFS

8. [Bug 1671] New: when mount smbfs, gnome filemanager die

9. Mounting NFS or SMBFS filesystems during runtime

10. NFS exporting smbfs mount?

11. Problems mounting smbfs/ntfs in /etc/fstab to give read-write permissions

12. Mounting a smbfs in OpenBSD

13. Error with mount -t smbfs to windows 2003

14. mount smbfs hangs...solution?

15. smbfs: bad mount msg