Dear Sir/Madam, After I had mounted the smb filesystem like below from one remote samba server with the root level (login as root), one normal user with any login name can modify all files in the mounted smb folders. Why can the non-root users make change for the files in the mounted smb directories ? ===== Mounted SMB Shares ========================//192.168.0.139/faxin on /var/spool/fax/faxdata/faxin type smbfs (0) //192.168.0.139/faxin-error on /var/spool/fax/faxdata/faxin-error type smbfs (0) //192.168.0.139/faxout on /var/spool/fax/faxdata/faxout type smbfs (0) //192.168.0.139/faxout-error on /var/spool/fax/faxdata/faxout-error type smbfs (0) //192.168.0.139/broadcast on /var/spool/fax/faxdata/broadcast type smbfs (0) //192.168.0.139/faxconfig on /var/spool/fax/faxdata/faxconfig type smbfs (0) ===== I login with the "admin" user lD =======[admin@fax faxdata]$ pwd /var/spool/fax/faxdata [admin@fax faxdata]$ ls -l total 24 drwxr-xr-x 1 root root 4096 Aug 15 18:34 broadcast drwxr-xr-x 1 root root 4096 Jan 20 18:23 faxconfig drwxr-xr-x 1 root root 4096 Jan 20 17:05 faxin drwxr-xr-x 1 root root 4096 Dec 31 07:25 faxin-error drwxr-xr-x 1 root root 4096 Jul 28 19:00 faxout drwxr-xr-x 1 root root 4096 Jul 8 2002 faxout-error [admin@fax faxdata]$ cd faxconfig [admin@fax faxdata]$ ls -l -rwxr-xr-x 1 root root 1 Sep 1 21:08 autoreply.flg -rwxr-xr-x 1 root root 14 Jan 20 18:16 sql.ini -rwxr-xr-x 1 root root 31 Jan 20 18:16 sql.ini~ THEN, I can make change all files in THIS FOLDER although I am NOT root. Do you know why ? Remark: I am using the RedHat 7.3 on the linux server running smbmount. The samba server is running RedHat 7.2 ! Thanks for your kind attention ! Best Regards. Louie
Dear Sir/Madam, After I had mounted the smb filesystem like below from one remote samba server with the root level (login as root), one normal user with any login name can modify all files in the mounted smb folders. Why can the non-root users make change for the files in the mounted smb directories ? ===== Mounted SMB Shares ========================//192.168.0.139/faxin on /var/spool/fax/faxdata/faxin type smbfs (0) //192.168.0.139/faxin-error on /var/spool/fax/faxdata/faxin-error type smbfs (0) //192.168.0.139/faxout on /var/spool/fax/faxdata/faxout type smbfs (0) //192.168.0.139/faxout-error on /var/spool/fax/faxdata/faxout-error type smbfs (0) //192.168.0.139/broadcast on /var/spool/fax/faxdata/broadcast type smbfs (0) //192.168.0.139/faxconfig on /var/spool/fax/faxdata/faxconfig type smbfs (0) ===== I login with the "admin" user lD =======[admin@fax faxdata]$ pwd /var/spool/fax/faxdata [admin@fax faxdata]$ ls -l total 24 drwxr-xr-x 1 root root 4096 Aug 15 18:34 broadcast drwxr-xr-x 1 root root 4096 Jan 20 18:23 faxconfig drwxr-xr-x 1 root root 4096 Jan 20 17:05 faxin drwxr-xr-x 1 root root 4096 Dec 31 07:25 faxin-error drwxr-xr-x 1 root root 4096 Jul 28 19:00 faxout drwxr-xr-x 1 root root 4096 Jul 8 2002 faxout-error [admin@fax faxdata]$ cd faxconfig [admin@fax faxdata]$ ls -l -rwxr-xr-x 1 root root 1 Sep 1 21:08 autoreply.flg -rwxr-xr-x 1 root root 14 Jan 20 18:16 sql.ini -rwxr-xr-x 1 root root 31 Jan 20 18:16 sql.ini~ THEN, I can make change all files in THIS FOLDER although I am NOT root. Do you know why ? Remark: I am using the RedHat 7.3 on the linux server running smbmount. The samba server is running RedHat 7.2 ! Thanks for your kind attention ! Best Regards. Louie