I want to write a script to ftp to windows ( the script will run on linux ) to get data , if the default drive is c: , now I want to change to another drive eg. d: , what can i do ?
I have been trouble shoot for whole day. I still cant figure out where is my error on write access deny for backup directory on windows SP3. It can read data on explore users by \10.1.23.124ackup code...
I was wondering if there is some way to determine when a file finishes writing to a directory on both Windows and Linux (obviously, they will probably be two different commands). This is mostly so that, instead of constantly polling a directory for new non-temp files, I can set up a program to simply listen for the completion of a write-to-disk (it seems better to do things that way).
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
I'm having some issues writing files through dolphin (smb://computer_name/) to a Windows SBS share. It seems that every time I try and write a file it simply creates a 32KB file.
I was previously able to write to this (Opensuse 11.0 / 11.1 / 11.2) and nothing has changed on the Windows server (besides for windows updates).
I'm running: Opensuse 11.3 KDE Version 4.5.2 (KDE 4.5.2) "release 10" Dolphin Version 1.5
I've recently switched to Ubuntu from debian, and I'm now running a fresh install of 9.04 32 bit. I have a Windows XP media computer which I would like to be able to browse using smb://. This worked fine on my debian system, but I cannot get it to work on ubuntu. The windows XP machine has a couple of shares, e.g Music. I can access the Music share via smb://, but I cannot write to it. Nautilus just says "Permission denied". I can also see the default shares, e.g. E$, but if I try to open them I am prompted with a password, but no matter what I enter it seems to have no effect. How to proceed?
I want to make a new partition that I can read and write to from Ubuntu 11.04 and Windows 7. I haven't used Ubuntu much since 8.10 and it seems that I remember it being much easier to do then. I'm using this partition to store my music, pictures and videos on if that is of any relevance. I also need this to be something that can't mess up my windows side of my computer as I need that for work.
I recently installed Ubuntu 10.04 using Wubi on an ACER Aspire 5000 XP laptop. Everything runs ok and I can access my Windows folders from Ubuntu through the host directory but only as Read Only. I have checked to make sure that the Windows folder I want to access (My Documents) is not designated as Read Only in Windows.
When I copy files to my External NTFS HDD using Ubuntu the write speeds are about 10-12 MB/sec, but when I copy files using Windows the write speeds are about 25-30 MB/sec.
Exact same files, tried all three ports on my netbook and even timed it to see if the speeds are by any chance miscalculated by either operating system and Ubuntu is definitely writing at half the speed.
So what could be the problem? When I had Windows on this Netbook I never got had a problem with write speeds so I don't think it is a hardware issue.
For some time now, I have been backing up a windows box (data files only) to a ubuntu machine using the following:
mount -t cifs -o user=xxx,password=xxx //windowsshare/ /mnt/
For the first time I needed to restore some files and found I did not have the correct rights to write to the windows machine.
I had already wasted a whole day trying to map the ubuntu machine from windows and failed so this is not an option.
I have tried adding write rights to several accounts on the windows machine, also tried adding write rights to "everyone", checked both the share permissions, as well as the folder permissions.
I read about chmod, and tried to use the command gksudo to do something but this fails with DISPLAY error. Tried several things to fix this which didn't work and I was just going off on a tangent.
In the end I used a CD ROM to copy the files from one machine to another.
So for next time I need to restore a file, how can I give myself rights to do so?
I have been having problems with Samba sharing from my Ubuntu-Server to all of my Windows 7 machines. All of the machines are able to access the samba shares however when i try to write to these shares i get a "Access Denied" error. This only happens under windows 7, my Ubuntu laptop easily writes to these shares. PS My permissions are read/write to all
I just got a new PC with 2TB of HDD space and it's running Ubuntu 10.04.1 32bit. I have created a user for networking, called share and have created a folder within the home folder called public. I then shared the folder and gave 777 access to it as I want this to be public - but for my local network and my later for ssh access. I have installed samba, and under the sharing options I allowed for guest logins and people to write and delete from folder. SO how would I be able to "see" this from my windows machine? It's running XP pro and it has a domain other than workgroup - but that shouldn't affect it should it?
Also, the laptop with XP is on the wireless with and internal IP of 10.0.0.135 and my PC is on the LAN connection with and internal IP of 10.0.0.1 I'm sort of familiar with networks, but I have NO clue as to how to do this.
I'm having difficulty making my FAT32 drive capable of read/write. I followed the instructions here (http://ubuntuguide.org/wiki/Ubuntu:Maverick#Windows_Compatibility) and added the following line to my /etc/fstab file:
Code: /dev/sda4 /media/WinD vfat quiet,defaults,rw 0 0 However, when I rebooted the drive is still read-only
Mount a Windows share where my user account has admin privileges. All permissions granted to the share on the windows pc side.Mount statement is as follows:sudo mount -t smbfs -o username=johndoe //winname/directoryname /mnt/tmp/Share mounts ok but does not let me create or write to an existing file. When I select Properties on the directory it says that permissions are unknown on the share looking at it from Ubuntu.
I have a Windows 2003 server with fiber attached volumes (NTFS) that I would like to mount readonly on a linux system to back it up to tape. The fiber device will allow me to present the volume R/W to one host and R/O to another, however, the R/O system doesn't see any of the changes made by the R/W server. In other words, how can I make a readonly volume refresh, scan for changes, or update without un/re-mounting it?
Is the "mount -o --bind" option what I want? From the MAN is doesn't seem right... the option "sync" seems slightly more promising but I think I'm just grasping at straws here. The best I have come up with is a cron job to unmount then mount the volume periodically.
I need to write a batch file for windows that automatically starts the cygwin tool in windows and executes the unix scripts.Previously we had these scripts in unix server.Now we need to migrate them to Windows server.For this reason we are using cygwin tool that allows the scripts to be executed on Windows server.We had written a batch file that starts the cygwin tool,but we were not able to execute the unix scripts.How can we write a batch file such that it executes all the unix scripts in cygwin.
I have Fedora 8 and we just switched over from a Windows "File Server" to Windows Server 2008 (10.1.1.17). I updated my fstab file and now when I go onto the Windows folders, I can list and read files, even save them, but new files are always read only.
fstab file (some, without the asterisks): //10.1.1.17/USERS/Jeff/fs /home/mriuser/Desktop/fs cifs rw,username=jsadino,password=**** 0 0
I've tried ntfs-3g, auto, ntfs, smb, some umask combinations, changing ownerships, changing permissions, everything I could think of, but still can't modify new files.
[root@localhost tmp10]# mkdir tmp2 [root@localhost tmp10]# cd tmp2 [root@localhost tmp2]# touch tmp [root@localhost tmp2]# ls -l
i finally decided to updgrade from Hardy Heron to Lucid Lynx. for this i made a backup of my old install, then i couldnt find my Lucid CD so i used a Karmic one to partition my old ext3 to ext4. There were some errors but after trying a few times it worked. Installed Karmic, rebooted (worked fine), downloaded all updates - (did NOT reboot to let updates take effect) and upgraded to Lucid.
Everything went fine so far. Now when i try to boot into Lucid the system hangs, i've also got a windowsXP partition on there so i tried booting that, first grub tells me Error 29: Disk write error then trying again windows seems to boot but it takes much longer than it should and seems to hang.
Then i tried Karmic and Lucid LiveCD (which i found in the meantime) none of the LiveCDs make it to boot after about 20 minutes. (previously they worked fine)looking at the errors it seems to be something about the harddrive. Why the harddrive would stop the LiveCD booting is a mystery to me but the same messages appear when i select Recovery from the Grub menu so i guess the problem is related.
Ive managed to install samba, I've shared a folder. I can access from a Windows 7 machine via \ubuntupublic. I can put files in the folder form the ubuntu machine and edit them on the windows box. I can put files in the folder/share from the Windows box but then I cannot edit them on the Ubuntu machine (they are read only and have a "Lock" over them). I can fix this by going to the properties of the file/folder in Windows and manually assigning "Everybody" full control (then the lock disappears and all is well.) I want read/write access to all the folders contents from both machines all the time (security is NOT a concern I WANT the permissions wide open) what am I doing wrong?
we are running a Red Hat Enterprise Linux ES release 3 (Taroon Upd 5) Kernel 2.4.21-32.ELsmp since several years. The server hosts an old ERP system who will be replaced at the end of the year.However it is necessary that some collegues are able to write some files to that server regulary. Since we are running Windows 7 on several machines, those users aren't anymore able to write to the samba share. Getting files from the share works fine.
But the problem seems not to be situated at the samba service because also the transfer using SSH (WINSCP) from any Win7 system to the server doesn't work.During testing we recogniced that transfering files smaller then 1kb works fine ... any file greater then 1kb ends up in an connection abort. This works with samba and also using SSH.All the workarounds editing some registry entries in Win7 for improving the interoperability between vista / win7 and samba don't work for us ... and also seem not to be the source of the problem.Is there a general known incompatibility between our RHEL version / kernel and Windows 7 regarding file transfers?
I am dual booting OpenSuse 11.2 and Windows 7 both 64bit on my PC. I've got VMware workstation installed on both. I've got few virtual machines which were all created in Windows VMware and they're all stored on a separate partition. I can access this partition and all other NTFS partition from Suse but with read-only permissions. That means I can't run any of these virtual machines from Suse VMware. Is there any possible way to make all these drives writeable from Suse? I'm really hoping someone would be able to help me. I've got a lot of googling and have even searched this forum but without any luck.
I want to write a shell script, so that at 9AM every morning a general will be sent automatically to my network users E-Mail ID. My users are as follows: akhtaruzzaman@a[URL], ariful.[URL] etc.
Below is my little effort: # !/bin/bash userlist=`cut -f 1 -d : /etc/passwd` mail -s "mailbackup" << END
keep mailbackup in another drive daily for security purpose