Hi All, When I use smbmount to attach a NT 4 Server's drive C:, I use the following command: smbmount //inet_server_1/C$ /mnt/server1 -o username=xxxxxx,password=xxxxxx,fmask=700,dmask=700,nosuid,noexec now, if I am su'd to root, and do a df -h I get: Filesystem Size Used Avail Use% Mounted on /dev/hda1 6.7G 2.5G 3.8G 39% / //inet_server_1/C$ 7.8G 3.2G 4.6G 41% /mnt/server1 but if I am a plain old user, I get the following: Filesystem Size Used Avail Use% Mounted on /dev/hda1 6.7G 2.5G 3.8G 39% / df: /mnt/server1: Permission denied how can I use smbmount to get the same access as 'root' without being root? The reason I ask is that I have a java based application which runs in a plain old users account which updates information. I do not recall this being a problem under samba-2.0.7-5, if memory serves. -Bill
Anyone gotten 2.2a3 installed on SuSE 7.1? We're having major problems - compile errors, dependancy problems, etc... I really would like to take advantage of the ability to share our ACT database using Samba, but 2.07 just doesn't work with our Win2K clients... Tia for any help Charles
On Fri, 6 Apr 2001, Bill Parker wrote:> Hi All, > > When I use smbmount to attach a NT 4 Server's drive C:, I use > the following command: > > smbmount //inet_server_1/C$ /mnt/server1 -o > username=xxxxxx,password=xxxxxx,fmask=700,dmask=700,nosuid,noexec > > now, if I am su'd to root, and do a df -h I get: > > Filesystem Size Used Avail Use% Mounted on > /dev/hda1 6.7G 2.5G 3.8G 39% / > //inet_server_1/C$ 7.8G 3.2G 4.6G 41% /mnt/server1 > > but if I am a plain old user, I get the following: > > Filesystem Size Used Avail Use% Mounted on > /dev/hda1 6.7G 2.5G 3.8G 39% / > df: /mnt/server1: Permission deniedWhich samba version are you using now? (+ kernel version) If you mount as root with 700/700 then the normal user isn't allowed to access the mount. But that does not seem to prevent 'df -h' from showing available space (for me on 2.4.2) df version ... ? /Urban