Fedora Servers :: File Change Notification When Writing To Network Drive
Sep 8, 2009
I have a relatively common problem, but I don't seem to identify it's source. I have a SAMBA server on my LAN to which there are mapped a few shares as network drives in windows xp (as Y: ) and mounted as CIFS in linux [as /y]. The problem is that every time I save a file [either windows xp or linux] on the mapped drive / mounted folder, our IDEs alert us that the file changes right after the save. I am running SAMBA 3.3.2.
View 1 Replies
ADVERTISEMENT
May 25, 2011
process of migrating my server to Ubuntu Server 11.04 after my Server 2003 installation suffered a HDD failure. All my data is on an NTFS drive (not ideal but not much I can do about that). I can currently only read the disk as a user. root has ownership of everything on the disk. Whenever I try and change ownership of a file it doesn't bring up any errors but when running ls -l it shows that nothing has actually changed.
View 2 Replies
View Related
Jan 23, 2011
Every time I try to change file or folder permissions on a separate internal drive in ubuntu 10.10 desktop in sudo file manager, It sets it right back to the way it was before and doesn't save the permissions I want to change it to. The files aren't critical system files that are not even existent on this hard drive.
Its on a completely separate drive, Yet aren't I suppose to be in control of what gets changed to what? Instead of a Operating System doing something just for my safety? A simple AVI files permissions being changed shouldn't hurt anything. How to I stop ubuntu 10.10 from auto setting the permissions of my folders and files? Its really starting to me off right now. I've been looking around on google for Auto reset permissions for ubuntu, Haven't found one word about it. Yet I'm just going to assume someone might know how to resolve this? Or has dealed with this before.
I'm just trying to Forcefully set my folders on my separate drive all to 777 because they are all 775 and 755 and I can only access them with Write privileges if I run the SUDO file manager which I really hate having to do every so often I'm sure you can relate to how annoying it is to have to open up terminal and type something in to open a fully priviledged file manager.
View 5 Replies
View Related
Aug 22, 2011
restore a partition images on another machine to the unused space on my laptop. I'm using netcat and dd to restore the partition.
On laptop:
nc -l 192.168.192.254 9000 | dd bs=1024 conv=notrunc,noerror seek=<some block pos> of=/dev/sda
On W/S:
dd if=part.img bs=1024 | nc 192.168.192.254 9000
The problem is that fdisk -l displays start & end sectors of the partitions and I need to know blocks. How do I determine the block number after the last partition to start writing this image?
Quote:
cat /proc/partitions
Displays blocks per partition. I could add those numbers up but is sure would be nice to have a utility that just give you what you need.
View 4 Replies
View Related
Apr 1, 2010
I am trying to write into a single log file from 3 different applications in C. In one of the applications I am forking out 5 instances. I would like to know what is the best way to open and close the log file in which i want to write from these applications. Should I open and close it at the start and end of each application or is it ok performance wise if i open and close it inside the log function which will be called for every write.
View 6 Replies
View Related
Sep 5, 2010
Today when i log in my fedora 12 i find that the network connection icon gone from the notification area. SO i can't connect to internet using fedora.How can I restore network connection in notification area.
View 14 Replies
View Related
Dec 28, 2010
My network icon has disappeared from the notification area.I've tried running nm-applet, but it replies that I've got already an instance running. How can I make it appear?
View 1 Replies
View Related
Feb 19, 2009
I am thinking about writing a script to search through specific folders on a Linux based server (Centos 5) and report any changes made to any file on that server.Like a detailed change log with the date it was changed and the difference in size. Dose anyone know if such a script exist?
View 2 Replies
View Related
Jun 12, 2010
Im usning ubuntu server 10.04 (Command-line)My second harddrive is FAT32 but i would like to change it to HTFS so i can store large files (larger than 2GB)
View 8 Replies
View Related
Jul 10, 2011
I had an old windoz 2003 server running a few recreational web sites. I've grown tired of all the hacking attempts, FTP floods, etc. Ok.. I've grown tired of windoz period.When I set the server up, I had the operating system on one physical drive and stored all of the web files on a separate physical drive just in case I ever wanted to make some changes to the operating system.in my adventurous ways, I've dumped windoz and installed ubuntu 11, 32 bit server edition on this machine. It is running fine from what I see on the server side. The first problem I've noticed is when even attempting to navigate to localhost through the server's web browser, I get a permissions issue.
So... off to the drive where the httpd.conf file points to. This is the second physical drive. When checking permissions and attempting to change them to the correct ones for the folder, I can't change them. I've tried through the GUI and the terminal as root. Neither way will change the permissions.I've stepped back and checked the permissions on the physical drive the files are stored on. I am having the same issues with the drive itself. How in the world can I change the permissions either on the drive or the folder? Is there something I should do as far as the drive's mounting?
View 3 Replies
View Related
May 7, 2011
I have tried chown and pcman in root mode but I can not change the owner or group of the directories and files on this drive. I think my inability to open both firefox and thunderbird are connected to this problem. Both profiles are on the rade drive. There are no .parentlock files in the profiles and yet the report is that both programs are in use, even after restarting the computer. I have had to install cromium to go online in lieu of FF:
this is my fstab. this is the line refers to the rade ntfs drive:
# /media/mydocs was on /dev/sdc1 during installation
UUID=724E07853D78E7A8 /media/mydocs ntfs defaults,umask=0022,gid=46 0 0
Quote:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
[Code]...
View 6 Replies
View Related
Mar 24, 2010
I'm setting up a server, and someone asked me (after I was done installing and formatting) whether the external hard disk attached to this server (with the /var partition) could also be mounted as a network drive for easy file transfer (i.e. drag-drop file transfer without ssh/scp or sftp). If someone has any ideas on how a pre-formatted (ext4) partition can be simultaneously made available as a network drive readable by a Windows machine.
View 3 Replies
View Related
May 28, 2010
I am wondering how to setup a remote disk on my server so that I can remotely access files on my Windows laptop through the "Map Network Drive" feature.
How do I go about doing something like this?
View 2 Replies
View Related
Jun 8, 2011
using the gnome3 team ppa, the gnome shell that gets installed on Ubuntu 11.04 still utilizes the default Ubuntu notifications (you know, those kind of annoying unclickable ones).Is it possible to change the notifications to use the tray at the bottom of gnome shell, for continuity's sake, as they do in Fedora 15.
View 1 Replies
View Related
Oct 18, 2010
Set up new Ubuntu 10.10 and it's all fine but the bug I encounter from time to time. Out of the blue, I can't switch languages, neither by keyboard shortcuts, nor from the panel icon. It happens in random time, and it must be some 10.10 bug, for it never happened on 10.04.
View 2 Replies
View Related
May 12, 2011
I was just wondering is 2.5mb a second normal to write to a usb2 pendrive with the 'dd' command?
I know dd maybe having an influence on writing time, but it still seems really low for usb2 transfer?
Is there a command to measure the time a file takes to transfer from HD to usb pen? (not using dd).
View 11 Replies
View Related
Jan 2, 2010
I have the following scenario:
- Server installed in wired network. The server has a static IP. It has Ubuntu Server 9.10 installed.
- I have two Ubuntu notebooks (Ubuntu Desktop 9.10) and I want them to connect (mount) to the server on bootup (fstab or equal) if the network is available.
- I don't want to store the password in cleartext in the fstab file. So what other options do I have? What would be the most common practice here?
View 7 Replies
View Related
Aug 25, 2010
I'm working on a remote Ubuntu 9.10 server, which is accessed via VPN. I installed Joomla, but had difficulty uploading new components, which I traced to a file permissions problem. I used FileZilla to FTP onto the site and tried to make the chmod changes I needed, but the commands kept failing. Eventually, I contacted the sys admin and told him I thought that there was an ownership problem with the directories. He checked and told me that I was logging in with exactly the same user name and password that he was using (it's not a live system currently) and that he could make chmod changes without any problems. Because all my attempts were still failing, he eventually did the following:
chown -R administrator:administrator /var/www
/var/www is where all the Joomla files are stored and Administrator is the user name.Now I find that when I run a chmod command in FileZilla, the server reports that it worked (see below):
Status:Connected
Status:Retrieving directory listing...
Command:CWD /etc
[code].....
However, if I go back and check the tmp folder permissions, I find that they are still set to 777.This still looks like an ownership problem to me, but I don't understand why the server seems to think that the chmod changes are working, when they aren't.
View 4 Replies
View Related
Apr 6, 2011
In order to effectively change the computer name of an Ubuntu system, I've been told I need to edit /etc/hosts and /etc/hostname.I can set up a script that I have on the administrator desktop, and just double click it and put in the computer name I want to change it to, and it save hosts + hostname and then reboot the system?
View 3 Replies
View Related
Mar 8, 2011
I am running Debian squeeze on a Seagate Dockstar. It boots Debian from a USB flash drive, and has two 1 TB usb hard disks hooked to it. The machine is used for only rtorrent and nfs. The flash drive contains only the system software and rtorrent. All of the data that rtorrent moves around is on the usb hard disks, including downloaded data, watch folder, and session folder. About once a day I run rsync with the source being usb_1 and the target being usb_2: # time rsync --progress --stats -a --delete /media/usb_1/ /media/usb_2 Since this machine boots from a usb flash drive, I'm interested in keeping the number of writes to the flash drive to a minimum. The machine used to boot from an Adata flash drive, which has no LED. That drive wore out after about five months. Completely dead, as in gparted would fail with an I/O error on write when trying to write a new partition table to it. No big deal - I restored the software to a new flash drive using an image I had made in Clonezilla.
The new drive (a Sandisk Cruzer 4 GB) has an LED and I assume this is showing me when the drive is being accessed, read and write. When the system is at idle, the LED sort of "breathes" off and on slowly. When rtorrent is downloading or uploading, it flashes a few times and goes back to breathing.
I'm assuming that once everything has been loaded and the system has been running a while that when the LED flashes, that means that data is being written to the flash drive. (Is this a good assumption?) With just rtorrent running, there's not much flashing, maybe 10 - 20 times/minute. However when rsync is running, the LED just flashes on and off like crazy. The daily rsync run takes anywhere from three to 30 minutes, depending on how much new data was downloaded each day. But no matter how long it takes, the LED just flashes like crazy the whole time.
I'm assuming this means that all the new data from the source drive is being written temporarily to the flash drive or something like that, and this is wearing the flash drive out prematurely. Does this sound likely? If so, is there a way to get rsync not to do this and to do its thing in RAM only and not write to the boot flash drive?
View 12 Replies
View Related
Jul 25, 2011
for the last three days, I have been trying to get my drive ( LiteOn iHas624 ) to work. Unfortunatly, it seems that I can only use the burner with Nero4Linux or Brasero, but not K3B.DVD-RAM/+RW packet writing seems neither to work out of the box, nor by the setup as suggested in /usr/share/doc/udftools/README.Debian or the media4linux howto(just to name the most promising, i definitly read more on the issue).
I tried to format the DVDs in various udf revisions, as well as ext2 just to check, but without success.As I am close to the point where I would rule out the possibility to obtain package writing capability, I dare to ask for help.I would be very grateful for any hint or reading recommendation on the issue.
Yours, Benjamin.
View 1 Replies
View Related
May 17, 2011
I am using a new install of Kubuntu 10.04 LTS. My system is a 64-bit AMD desktop.
I use a small partition for my entire Kubuntu install, and use separate, larger partitions for my media and work files.
I opened up Dolphin (my KDE file manager) via GUI, navigated to my media partition, and attempted to create a new folder by
right-click->
Create New->
New Folder-> etc
The Create New in the menu is ghosted out, as if I have no permission to access it.
How can I write files to the drive?
View 14 Replies
View Related
Jan 26, 2011
Is there any way to get an async notification (perhaps through something like a Linux message queue or Unix socket) when a DHCP client is either unable to renew its lease, or the address obtained changes from the previous value? I've got the ISC client and will dig into it to determine if it supports such a feature, but thought I'd ask here in parallel. (I'm trying to find out if there are any DHCP clients out there which already support this capability.)
If you're curious: We have an application where we're doing auto-registration of an IP camera to an external server. If the camera's dynamically assigned address changes, we need to restart the auto-reg state machine. I've seen implementations where a socket is opened and a SIOCGIFADDR ioctl used to fetch the IP addr, but I'd sure like to avoid polling like this if possible.
View 1 Replies
View Related
Nov 30, 2008
I am running Intrepid Ibex 64-bit, and I have recently ripped a cd with EAC on one of my windows boxes, and it produced a cue sheet and one single wave file for the entire cd. My question is this, is it possible to take the wave file, burn an ISO image that acts exactly like the original cd? In other words, take the single wave file, using the cue sheet splitting it back into it's individual tracks, and then reading the subsequent ISO image from a program like Sound Juicer, so it can write all the metadata and convert it with my own preferences. I know this is a very strange predicament, but it's one that would save me a world of hassle.
View 5 Replies
View Related
Feb 2, 2011
I am trying to create an empty file based on the remaining hard disk space. The problem is that when I create a file that is 1 GB large, the df command shows the remaining space to be only 12 kb smaller than it was before the file was created.
someone@here:/tmp/delete# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 36827144 5031592 29924788 15% /
[code]....
View 2 Replies
View Related
Jun 22, 2010
can I change the ECC code for a block of a file stored on a flash drive by any means ? of a file stored on a HDD (though I don't think there would be a difference between the two)Maybe , through some hardware interrupts or anything like that?Also if possible I need the solution to be in C/C++.
View 4 Replies
View Related
Feb 9, 2010
i needed to change my external hard drive's file system from ext3 to fat32, to use it in windows, which i did the simple way: i shrunk the ext3 partition, made a fat32 partition, copied the files over, removed the ext3 and made the fat32 bigger. unfortunately, while gparted was making the partition larger, my computer shut down. i lost all my files and the partition messed up immediately. i made a new fat32 partition, after deleting the old one, but noticed that gparted was showing 100 gigs already in use (???). so now i have a 300 gb hard drive with only 200 gb i can use; i ran df to make sure gparted wasn't messing up, but indeed it shows the partition as being only 200 gigs in size. i haven't tried making any other kind of partition yet, such as ext3, for fear of losing my files again, and because it wouldn't be permanent anyway, because i need those files in windows and stupid microsoft won't make their OS ext3 compatible.
View 2 Replies
View Related
Jan 22, 2011
I would like my Ubuntu server to show up as a drive on my XP home machine. I have loaded samba on to the server but I can only get it to show as the printer and faxes under my work group. Also is there a way to have my Ubuntu laptop to auto mount the server when I am on my home network?
View 6 Replies
View Related
Jan 26, 2010
Everything is software raid using mdadm
3x320GB HDDs in raid 5
1x1.5TB HDDs in raid 1(don't ask)
The above are LVMed to create ~2TB of combined space using reiserFS. I'm not really happy with the performance so I'm moving to XFS while I'm at it.
I FINALLY got around to ordering 2 more 1.5TB HDDs. The end goal is.3x1.5TB HDD in raid 5 formatted to XFS for a total of around ~2.7GB of space.
1. Create raid 5 array using the new 2x1.5TB HDDs.(yes, very pointless at the moment, please continue reading)
2. Copy data from 2TB LVM to the new ~2.7TB raid 5. (will mdadm let me be an idiot? It apparently let me force create a single drive in a raid 1)
3. Move the original 1.5TB over to the new raid 5 to actually provide redundancy.
View 4 Replies
View Related
May 11, 2010
Is it possible to have different /etc/hosts file for different network connections without having to go in and change it every time? The why: I have dyndns and port forwarding to get to my desktop. My laptop is sometimes on the same network, and sometimes not. Also, sometimes the dyndns doesn't update properly, or the outside connection is down, but I want to get to my desktop (and I'm too lazy to walk up the stairs). I'd like to be able to keep one set of bookmarks, ssh command aliases, etc. that would always get to it the fastest and most reliable way possible.
View 1 Replies
View Related