General :: Windows - Linux: Can't Overwrite Files On Samba Store
Jun 10, 2010
I'm using CentOS 5.5 with smbclient 3.0.33-3.28-el5 (latest version in repo), and I can't overwrite files in my Samba store. I am not the admin for the Windows server that hosts the share, so there isn't anything I can do server side. But I do have write permission to the server. I know the server runs Windows XP or Server 2003; I don't know which. I can delete the file, and then copy the new version over, but I can't overwrite it. Using the cp command I'll get this error:
[jonescb@localhost ~]$ cp foo.txt /mnt/si_storage/foo.txt
cp: cannot create regular file `/mnt/si_storage/foo.txt': No such file or directory`
And if I edit a file on the server using vim, I can save it once, but if I save it again I get this: "/mnt/si_storage/foo.txt" E212: Can't open file for writing This is my /etc/fstab entry for the samba server: //192.168.1.2/SI_STORAGE /mnt/si_storage cifs username=myuser,password=mypass 0 0 I can overwrite files just fine on my XP machine. The CentOS box is the only one having problems.
View 1 Replies
ADVERTISEMENT
Mar 8, 2010
I have both windows and linux in my system.I want to know how I can access linux files from windows.
View 6 Replies
View Related
Oct 9, 2010
I can ssh to the server but it wont allow me edit files, even though I have basic text editors like gedit and notepad installed on my windows computer. Anyone have an idea what the problem is? (I get an error message like this-(gedit:23978): Gtk-WARNING **: cannot open display
View 3 Replies
View Related
Jul 21, 2010
I have a Samba server running on Slackware 13.0 and its service running with diskspace mounted on a Windows XP machine. Is it possible to mount the XP diskspace on the Samba server?
View 3 Replies
View Related
Apr 15, 2011
I run a command in a Linux terminal, the result was written to the desied folder. After I modified the command and rerun it. The old files are still there and not overwritten at all. Only it is successfull after I deleted the old files and run the command.
View 3 Replies
View Related
Jun 29, 2011
I use software where I have to edit a text file in order to get my custom needs from it. Problem is that when the author puts out an update, it always overwrites my changes and I have to spend hours trying to compare the file, re-edit my changes back in, etc. This happens sometimes as often as once per month.
I've wondered if there might be a linux tool or commands which would look through the new file, then at my old file, changing only the text which already exists while not breaking anything else. Most software authors seem to know how to do this but since mine doesn't, how can I accomplish this on my own?
View 7 Replies
View Related
Aug 24, 2010
I have problem with bootloader , mean to say , after installing fedora 13 my windows 7 bootloader will overwrite, and when i install windows7 boot loader my fedora 13 bootloader will overwrite vice versa
View 7 Replies
View Related
May 5, 2010
currently there's a xxx dir already in /home/yyy I'm trying to overwrite itcp -fr ../xxx /home/yyy/doesn't work still prompts me to overwrite the individual files. how do I fix it?
View 4 Replies
View Related
Aug 6, 2011
Since Ubuntu is smaller than Windows, will it entirely delete Windows to install Ubuntu? The Ubuntu installation won't affect the recovery drive, right?
View 10 Replies
View Related
Dec 1, 2010
I keep my bank account numbers and passwords in a kwallet file. I would like to buy some external usb flash disk as a backup to keep the file inside. if there is an encrypted way in linux to store the data inthere?
For example: Buy a stick that encrypts the data Encrypt the data by using some filesystem. Does this work on every usb stick?
View 1 Replies
View Related
Apr 15, 2015
I have installed Debian as a second OS alongside Win XP, and now I have Win XP on C drive (if viewed from XP), NTFS, my data files (mainly texts and graphics) on D drive (NTSF), and Debian on ext3. Debian sees and opens files on D.
1. If I read-write from-on this D partition from both OSes, is there a chance the data will be corrupted?
2. If I open a Windows-created TXT, GIF, JPG, HTML or other not-proprietary format file from Debian, edit it and save (just SAVE, not SAVE AS) - will this file remain readable from Windows?
View 14 Replies
View Related
Dec 8, 2009
I have two students whose windows laptops are riddled with malware and not working properly. They want me to help them install Linux (which we use in school), but they are concerned about their iTunes.
Having avoided iPods as "defective by design", I know nothing about iTunes whatsoever. However I remember reading about DRM locking and such problems that have me concerned that I won't be able to do it.
Where does iTunes store its stuff?
Can I copy its data store to an external drive, and then into a linux home?
Then will it work on wine, or can another manager (rhythmbox etc) access the itunes data?
Alternatively, if I partition the drive and install linux, can rythmbox/wine/something access itunes data on the win partition?
Supposing they are buying music through iTunes, what will happen to that account?
Finally, one of them has an iphone. Does that work with linux?
Ironic that an apple application is blocking migration away from windows.
View 9 Replies
View Related
Apr 3, 2010
Is it possible to store Windows-based documents and data (e.g, Excel spreadsheets, Access databases) on a Linux server, and easy to do so & to retrieve from a Windows client?
View 3 Replies
View Related
Aug 20, 2010
In what files/dirs in the home dir does xfce store the user config data?
Or if you like.
What files do I need to restore from backup in order to restore my xfce desktop with all the different settings I made?
Edit: All user config files is usually stored somewhere in /home/$USER/. And since all the programs, kde, xfce and gnome stores their config there, this question is about what files belong to the xfce desktop.
This is my guess of what files belong to the xfce desktop:
.config/Thunar/
.config/xfce4/
.config/xfce4-session/
.config/user-dirs.dirs
[Code]....
View 1 Replies
View Related
Jul 16, 2011
I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global]
workgroup = DOMAIN
server string = File Server
[code]...
View 3 Replies
View Related
May 28, 2011
I have an Ubuntu development server and a Windows 7 workstation. I use Windows Gvim to edit files on the linux server, over a samba connection.Saving files from Windows change the Linux permissions in weird way depending on the Windows app I'm using and also depending on whether there's a file extension or not.Here are some testsNo extension; Notepad2: 644 to 764
matt@mattserver ~ % ls -l testfile
-rw-r--r-- 1 matt matt 0 2011-05-28 07:09 testfile
--- Save from Windows Notepad2 over network ---
[code]....
View 1 Replies
View Related
May 29, 2010
i want to know why do we need to patch files based upon diff when we can directly overwrite the old file with the new file.
View 4 Replies
View Related
Sep 26, 2010
I shared home folders to be accessible from a Windows XP notebook computer which my wife uses some times. One of the folders contains many pictures which I later renamed (bulk rename at the ubuntu box). The pictures at the Windows box still have the old name and they can be opened as usual. However, when my wife rotated a picture and saved it with the same name, the picture just disappeared. For some reason It can not display the new names. I removed the Thumbs.db files, restarted samba and re-configure again the connection with samba but no luck. It is not a big problem but I was wondering if someone knows what this is happening?This is my samba config file:
Code:
[global]
workgroup = WORKGROUP
server string = %h Ubuntu
dns proxy = no
[code]...
View 3 Replies
View Related
Sep 18, 2010
I am using ubuntu 10.04 .I tried to share my files on windows network using samba , I changed theworkgroup name in samba configuration file ..but it dint work for me will you please tell me the exact procedure to share the files on windows network ..
View 7 Replies
View Related
Jun 17, 2010
I'm using CentOS 5.5 with smbclient 3.0.33-3.28-el5 (latest version in repo), and I can't overwrite files in my smb store.The CentOS box is merely a client of the smb share,and I am not the admin for the Windows server that hosts the share, so there isn't anything I can do server side. But I do have write permission to the server. I'm 95% certain that the server runs Windows Server 2003.I can create a new file,but if I need to overwrite it I need to delete the file, and then copy the new version over.My Windows XP machine can overwrite files perfectly fine.
Using the cp command I'll get this error: (/mnt/storage/foo.txt already exists)
[jonescb@localhost ~]$ cp foo.txt /mnt/storage/foo.txt
cp: cannot create regular file `/mnt/storage/foo.txt': No such file or directory`
View 5 Replies
View Related
Jan 2, 2010
I just installed Ubuntu server 9.04 and am try to get it all set up but Ive run into a snag with Samba. I cant delete, add, or change files from my windows machine like I could before. Here is my minimalist Samba config that I used on my old ubuntu server:
Quote:
[global]
server string = %h server (Samba, Ubuntu)
security = SHARE
map to guest = Bad User
obey pam restrictions = Yes
[Code]....
Im sure its just one small thing Im forgetting..Its been a while since I played around with my server!
View 1 Replies
View Related
Jun 6, 2010
I am trying to see share files on my windows machine to my linux machine. I would like an answer to how to fix the problem. This is where i am at i am using my own network to learn who to use nmap properly. I ping my whole network with nmap -sS -O. Then i used nmblookup -a which gave me the infromation i needed. Then i run smbclient -L computername -I ip address -N
This will not show me the windows os this only show me my laptop. What can i change for this to show me the other computer on this network. The port i am wanting is open. I want to be able to mount the share files and move them to my computer i am going to use the commands put and get to move the files when i am able to get to the smb: >
[Code]...
View 6 Replies
View Related
May 17, 2011
I'm trying to make my music directory, located on my Ubuntu box, available to all the windows clients (Windows 7, to be specific) located around the apartment. It seems to work fine, I can see and read from the shares from my windows box, but deleting files doesn't work, I just get a permission denied.I've tried being as lenient as I can in the smb.conf, as well as setting 777 on the affected files, nothing changes. I've read, from my various googling, that the octal file permissions aren't as important as the samba permissions. Okay fine, but how do I tell samba to ignore permissions and let everyone delete files? I've read that samba works with samba users, but again, I don't care about users, I just want a global share that anyone can connect to and read (and delete) files.
Here's my smb.conf file: http:[url]...As you can see, I've played around a bit with options, but I just can't seem to get anything to work.
View 4 Replies
View Related
Mar 18, 2010
I want to know if it is possible to install Windows XP inside of Ubuntu 9.10 and delete Ubuntu. I want to make this netbook dual boot and I know I need to have XP installed first to make the process easier.
View 9 Replies
View Related
Aug 30, 2010
I seem to remember I could just use DHCP given addresses when sharing from Windows to Windows, and they'd keep sharing even when the IPs changed.
View 9 Replies
View Related
Oct 12, 2010
I am new to Linux and want to setup Samba server in my CentOS 5.3. I have downloaded samba server from yum repository with command
yum install samba
I then followed the steps which i got by some googling on
http://crazytoon.com/2007/05/22/samb...centos-fedora/
this site which contains steps like code...
How to resolve it ?
View 5 Replies
View Related
May 18, 2010
I need to overwrite the first say 50 or so lines of an xml file on an everyday basis. The first 50 lines of the file are always the same and the 50 lines they get replaced with are always the same. Is there a way to create a file with the 50 new lines and somehow copy/merge/overwrite the larger file such that the 50 original lines would be replaced but the remainder of the file would be untouched?This seems simple, there has to be a way to do it. I'm just not smart enough to figure it out.
View 2 Replies
View Related
Jan 13, 2010
I know how to add linux if windows is pre installed. But do not know how to do it in reverse
View 10 Replies
View Related
Jan 21, 2011
sir as we know that we can use f1 to f6 windows symanteniasly multi process in linux. now i want to lock my f3 f4 f5 and f6. tell me full process of this as early as possible.
View 3 Replies
View Related
Jul 31, 2011
I'm currently dual-booting Ubuntu 11.04 and Windows 7, and I'm looking to uninstall Ubuntu and only using Windows. I know i have to remove the linux partitions and Grub and reinstall windows but i dont have a windows CD because my computer just has a recovery partition and i dont see how i could boot it without Grub.
View 10 Replies
View Related