ISA Server by default allows only ftp read access. Even if you have written access rules to allow FTP communication, that will only let you download files, neither you will be able to upload nor create folders and files in the server.
To allow write permission for FTP, right click on the access rule which you have configured to allow FTP access. From the context menu, chose "Configure FTP". On the pop up window that comes up, untick the option "Read Only". Press OK, and click Apply to save the settings.
Now you will be able to upload files via FTP.
Friday, January 9, 2009
Configure ISA Server to allow FTP uplod
Labels:
Articles,
FTP,
ISA Server,
Windows
Friday, January 2, 2009
VirtualBox USB Proxy Service Error
I was getting this error in VirtualBox whenever I was trying to access the settings of any VM.
-----------------------------------------------------------------------------------------
Failed to access usb subsystem
Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.
Result Code:
NS_ERROR_FAILURE (0x00004005)
Component:
Host
Interface:
IHost {f39438d7-abfd-409b-bc80-5f5291d92897}
Callee:
IMachine {ea6fb7ea-1993-4642-b113-f29eb39e0df0}
-------------------------------------------------------------------------------------------
Found out a fix for this in ubuntu forums: (Thread: http://ubuntuforums.org/showthread.php?t=918007)
safeer@linux-lp-01:/tmp$ VBOX=$(grep vboxusers /etc/group | sed 's/vboxusers:x:\(.*\):.*/\1/')
safeer@linux-lp-01:/tmp$ sudo mount -t usbfs -o devgid=$VBOX,devmode=664,nodev,noexec,nosuid none /proc/bus/usb
Make sure that VirtualBox is not running while doing this. This will fix the issue temporarily. To make it permanent mount the usbfs filessystem permanently in fstab under the group privilege of "vboxusers"
First of all, find out the gid of the group "vboxusers".
safeer@linux-lp-01:~$ grep vboxusers /etc/group|cut -d ':' -f3
130
Then mount usbfs permanently by adding this line to /etc/fstab.
safeer@linux-lp-01:~$ sudo vi /etc/fstab
Add:
none /proc/bus/usb usbfs devgid=130,devmode=664,nodev,noexec,nosuid 0 0
Please note that the devgid(=130) is the gid of vboxusers group that we collected earlier. Other options are included for security.
safeer@linux-lp-01:~$ sudo mount -a
safeer@linux-lp-01:~$ mount|grep usbfs
none on /proc/bus/usb type usbfs (rw,noexec,nosuid,nodev,devgid=130,devmode=664)
This resolved the issue.
-----------------------------------------------------------------------------------------
Failed to access usb subsystem
Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.
Result Code:
NS_ERROR_FAILURE (0x00004005)
Component:
Host
Interface:
IHost {f39438d7-abfd-409b-bc80-5f5291d92897}
Callee:
IMachine {ea6fb7ea-1993-4642-b113-f29eb39e0df0}
-------------------------------------------------------------------------------------------
Found out a fix for this in ubuntu forums: (Thread: http://ubuntuforums.org/showthread.php?t=918007)
safeer@linux-lp-01:/tmp$ VBOX=$(grep vboxusers /etc/group | sed 's/vboxusers:x:\(.*\):.*/\1/')
safeer@linux-lp-01:/tmp$ sudo mount -t usbfs -o devgid=$VBOX,devmode=664,nodev,noexec,nosuid none /proc/bus/usb
Make sure that VirtualBox is not running while doing this. This will fix the issue temporarily. To make it permanent mount the usbfs filessystem permanently in fstab under the group privilege of "vboxusers"
First of all, find out the gid of the group "vboxusers".
safeer@linux-lp-01:~$ grep vboxusers /etc/group|cut -d ':' -f3
130
Then mount usbfs permanently by adding this line to /etc/fstab.
safeer@linux-lp-01:~$ sudo vi /etc/fstab
Add:
none /proc/bus/usb usbfs devgid=130,devmode=664,nodev,noexec,nosuid 0 0
Please note that the devgid(=130) is the gid of vboxusers group that we collected earlier. Other options are included for security.
safeer@linux-lp-01:~$ sudo mount -a
safeer@linux-lp-01:~$ mount|grep usbfs
none on /proc/bus/usb type usbfs (rw,noexec,nosuid,nodev,devgid=130,devmode=664)
This resolved the issue.
Labels:
Linux,
Ubuntu,
VirtualBox,
Virtualization
Tuesday, December 23, 2008
Registering DLLs with wine
If you want to add a DLL to your wine installation, you should register that dll just as you do in the windows OS's.
First, download the DLL and copy it to your wine installation's system32 directory :
safeer@linux-lp-01:~/downloads$ cp devenum.dll /home/safeer/.wine/drive_c/windows/system32/
Now register this DLL with your wine
safeer@linux-lp-01:~/downloads$ regsvr32 "C:\windows\system32\devenum.dll"
Successfully registered DLL C:\windows\system32\devenum.dll
Done. :)
First, download the DLL and copy it to your wine installation's system32 directory :
safeer@linux-lp-01:~/downloads$ cp devenum.dll /home/safeer/.wine/drive_c/windows/system32/
Now register this DLL with your wine
safeer@linux-lp-01:~/downloads$ regsvr32 "C:\windows\system32\devenum.dll"
Successfully registered DLL C:\windows\system32\devenum.dll
Done. :)
Wednesday, December 17, 2008
Installing MSI files with wine
Wine is widely used to install windows applications in Linux. The common procedure to install a windows application using wine is to issue the command "wine /path/to/exe". For example:
safeer@linux-lp-01:~$/usr/bin/wine ~/downloads/MP10Setup.exe
But this will fail if the package is an MSI package.
safeer@linux-lp-01:~/downloads$ wine msxml6.msi
wine: could not load L"Z:\\home\\safeer\\downloads\\msxml6.msi": Bad EXE format for
To manage MSI files we have to use "msiexec"
safeer@linux-lp-01:~/downloads$ msiexec /i msxml6.msi
This will work, for more details on msiexec, try "/usr/bin/msiexec /h"
safeer@linux-lp-01:~$/usr/bin/wine ~/downloads/MP10Setup.exe
But this will fail if the package is an MSI package.
safeer@linux-lp-01:~/downloads$ wine msxml6.msi
wine: could not load L"Z:\\home\\safeer\\downloads\\msxml6.msi": Bad EXE format for
To manage MSI files we have to use "msiexec"
safeer@linux-lp-01:~/downloads$ msiexec /i msxml6.msi
This will work, for more details on msiexec, try "/usr/bin/msiexec /h"
Friday, December 12, 2008
Firefox extension installation error
I was trying to install firebug on my FF2 and got this error:
"installLocation has no properties
file:///usr/local/firefox2/components/nsExtensionManager.js"
After searching the firefox bug tracker, found out the solution.
Go to your firefox profile directory, backup and remove the file "extensions.rdf". Restart firefox and you will be able to install the extensions without errors. But I am not sure about what will happen to your existing extensions, as I had no other extensions installed. So this is all I did:
safeer@myubuntu:~/.mozilla/firefox/qkvt609s.default$ mv extensions.rdf extensions.rdf-bak
safeer@myubuntu:~/.mozilla/firefox/qkvt609s.default$ pkill firefox
safeer@myubuntu:~/.mozilla/firefox/qkvt609s.default$ firefox&
and start installing your favorite extensions :)
"installLocation has no properties
file:///usr/local/firefox2/components/nsExtensionManager.js"
After searching the firefox bug tracker, found out the solution.
Go to your firefox profile directory, backup and remove the file "extensions.rdf". Restart firefox and you will be able to install the extensions without errors. But I am not sure about what will happen to your existing extensions, as I had no other extensions installed. So this is all I did:
safeer@myubuntu:~/.mozilla/firefox/qkvt609s.default$ mv extensions.rdf extensions.rdf-bak
safeer@myubuntu:~/.mozilla/firefox/qkvt609s.default$ pkill firefox
safeer@myubuntu:~/.mozilla/firefox/qkvt609s.default$ firefox&
and start installing your favorite extensions :)
Labels:
Opensource,
Web
Subscribe to:
Posts (Atom)