General :: Where File Change Occurs
May 5, 2010
We can use inotify related tools (fam, etc.) to know "when" a file change occurs, but, Can I know where (file position, offset) this change was made? For example, suppose that you have a big file and you are monitoring changes on it, using inotify-tools package or something like that you can take acknowledged if another process chage that file, but How can I know "where" that change was maded in order to avoid read all file content looking for a change maded?
View 5 Replies
ADVERTISEMENT
May 22, 2010
I can't insert songs in my iPod nano.There is an error occurs which says that it is a 'read only file system' in ubuntu
View 7 Replies
View Related
Oct 7, 2010
We are running into issues with a File Upload script written in PHP. We can upload files without issues except with .*x files (such as .docx) We are getting permission denied errors. The error occurs when we use move upload file, to the new directory within our PHP app. If we give the uploads folder 777 access, it works fine without error. I dont like that. So I set it to 775 (Also dont like this), but it didnt work until I gave group ownership to www-data (I really dont like this)
This issue only happens on our production server, which is Ubuntu 9.04, running Apache2.2 and PHP5 will all the newest updates. We also have all MIME's configured, and are able to download the file from Apache without error. The first thing we noticed before the file permissions error, was that the MIME type changed to .zip when we used mime content type function. But yet using the FILES array, it still showed .docx.
View 2 Replies
View Related
Aug 8, 2010
when i try to use apt an error occurs: dpkg: parse error, in file '/var/lib/dpkg/status' near line 27317 package 'virtualbox-3.0': error in Version string `3.0.4-50677_Debian_lenny': invalid character in revision number E: Sub-process /usr/bin/dpkg returned an error code (2)
i tried to :
1- replace the file status with status-old
2- replace it with all the backups located in /var/backups/
and the same error occurs
View 4 Replies
View Related
Jun 18, 2010
I have a problem : " bootmgr is missing" It occurs when I plug the SATA 1 TB(data stored with windows file system).
View 1 Replies
View Related
May 22, 2010
After completing the installation using kickstart , the exception is occured, just after performing post installation,i am sending the exception image
View 8 Replies
View Related
Nov 17, 2010
I have a bluetooth headset for a cellphone, which I would like to use with my Ubuntu computers. I'm currently trying to do this with a computer running Jaunty. I have successfully paired the headset with the computer. But when I try to send an audio file to the headset, I get the "Sending files via Bluetooth dialogue box, immediately followed by the error message:
Quote: org.openobex.Error.NotSupported and no file transfer occurs. I am able to do other Bluetooth operations with other devices - eg I can send/receive files between the computer and my cellphone. It just seems to me that using a Bluetooth cellphone headset is not supported, or that I am doing something wrong.
UPDATE: I just tried doing this with my other machine running 10.04, with similar results. It looks momentarily like it's going to transfer the file, then reports that "an unknown error occurred". Is it just not possible to use bluetooth headsets for cellphones with Ubuntu computers? That doesn't seem very likely: when the computer detects the headset, it reports it as being a "headset". So why won't it work? What am I doing wrong?
View 1 Replies
View Related
Dec 21, 2010
I have installed bluez.4.81....but when i install /home/george/Desktop/obexd-0.37.tar.gz,a configuration error occurs telling that libbluetooth is required. Is there any solution??
i want an option for receiving files.
View 1 Replies
View Related
Feb 11, 2010
i have ubuntu karmic 9.10 and when i try to update anything or install anything the a very similar error occurs."(Reading database . . . 55%dpkg: unrecoverable fatal error , aborting: files list file for package `com.palm.net.precoddr.fcoaster' contains empty filenameit repeats this message 3 times then gives up i believe.
View 9 Replies
View Related
Aug 5, 2009
What config file do you change to change default run level???
View 3 Replies
View Related
May 29, 2010
fscheck is quite annoying, since it usually occurs when I reboot my system performing administration tasks. do I actually need fscheck if Im using the ext3 file system? if not how would I extend the period between checks or just turn it off altogether?
View 9 Replies
View Related
Apr 6, 2010
I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab
Code:
/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0
Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.
View 2 Replies
View Related
Jun 26, 2011
This is for educational purpose. In fact it is my lab tutorial for a subject.I want to capture the users password when he changes his password. Both new and old.This is the script i have come up with:
Code:
#!/bin/bash
echo "Changing password for user $USER."
[code]...
View 5 Replies
View Related
Jul 23, 2011
how do I write a workable script that demonstrates that variable expansion occurs before pathname expansion
View 14 Replies
View Related
Jul 27, 2011
I have a textfile with name negin.txt in /home and did the following:
Right click → Properties → Permissions → Advanced Permissions → Add Entry → Named User user:wwwrun
Is it possible to do this over the shell?
I tried chown wwwrun /home/negin.txt but got no result. What is wrong here?
View 2 Replies
View Related
Mar 22, 2010
There seems to be a limit of 2 gb on files. Im trying to add my music files and have about 7 gb. Is there a way to make a file that will allow the extra info.
View 7 Replies
View Related
Aug 9, 2010
I would like to know how I can change a file so it has the same character encoding as files saved as comma separated csv files from Microsoft Excel.
I have tried using iconv to do this. code...
View 5 Replies
View Related
Oct 18, 2010
my keybord F7 key is not working. i am using RHEL 5.0 version. in that i am using tty's(Ail+Ctrl+F1 to Alt+Ctrl+F6) . for return back to GUI means compulsary needed F7 Key(Alt+Ctrl+F7). but my F7 key is not working.
View 1 Replies
View Related
Nov 10, 2010
i have a file and i want to change the content of file but i also want that md5sum of that file remains same.
View 14 Replies
View Related
Feb 8, 2011
I esablished a dual boot with Windows 7 and Ubuntu on separate partitions. Then, as I realised that Windows 7 was rubbish and Ubuntu annoyed me by losing wireless connectivity after an update, I decided to go back to Windows XP for a while. So I did what I probably shouldn't have done, and formatted the partition (or so I thought) with Ubuntu on, using Windows.
Now, on booting up the system, all I can get is the Grub Rescue prompt and nothing in the Bios menus seems to be of any assistance.
I've tried booting XP from a CD, but a blue screen error always occurs at the same point in the installation. I wonder if I should make a CD/external drive with Ubuntu on, reinstall it, and go from there?
View 2 Replies
View Related
Apr 5, 2010
I am running Linux Mint 8 on my Dell Precision 350 computer. Every so often (sometimes every few hours, sometimes every few days, it appears to be random) my desktop will crash and display the message:
"70822.286411 EXT4fs error (device sda1): ext4_ext_check_inode: bad header/extent in inode #139281: invalid magic - magic 800c, entries 121, max 3278020), depth 171(171)"
This is displayed several times on all of the terminals, but with different numbers each time. When this happens, typing any commands in the terminal result in the error message being displayed again. When I restart after this happens, linux generally displays "Give root password for maintenance (or type control-D to continue):" and I give the root password. Running "fsck /dev/sda1" seems to fix this problem for the next boot, but then it will come back in either a few hours or a few days. Reinstalling the distro does not work, as I have already tried this. I suspect a hard disk error, but before I run out and buy and install a new hard disk, I wanted to know if maybe there is some way to fix this through software.
View 3 Replies
View Related
Apr 10, 2011
when I got following some information using fdisk -l,there were some invalid information about system name.I installed file system reiserfs, xfs on sdb6, sdb7.but the system didn't recognizes disk's file system name.
View 1 Replies
View Related
Apr 24, 2011
If I am not the file' owner or root, can I use chmod to change the file permission?
Assume I have group/write access to the file, e.g. 775
View 2 Replies
View Related
Jul 1, 2010
I just installed linux. How can I change the index.html file?
my dir is var/www/index.html
it doesnt allow me to delete it the index.html (permission denied) I can't move a file into it either. (permission denied)
View 7 Replies
View Related
Mar 21, 2011
i have a file thunderbird which size 1.57GB, that files contain the email that had been deleted but fortunately not been compact so i still can retrive the email that had been deleted the problem the superior not give me the specific of the subject or date on the file.
Code:
X-Mozilla-Status: 0001(this number sometimes not same)
X-Mozilla-Status2: 0000080(this number sometimes not same)
what i need is change the contain number 0001 to 0 in X-Mozilla-Status not the X-Mozilla-Status2, is there any way to do, and the file contain so much text like that so i want to change automatically.
View 5 Replies
View Related
Sep 15, 2010
My cd /boot/grub/ shows (required only file shown): -r--r--r-- grub.cfg
I tried to change the permission of this via, chmod u+w grub.cfg but the file permission did not change why??
How can I change the file permission of grub.cfg?
View 1 Replies
View Related
Jun 17, 2011
Why would I need to be root to change the ownership of a file? Example: I'm logged in as dwadmin and I've created a file:
-rw-rw---- 1 dwadmin dgw 0 Jun 17 07:46 testing.txt
I want to change the ownership to another user, but am getting the following error: chown 511 testing.txt chown: changing ownership of `testing.txt': Operation not permitted
View 5 Replies
View Related
Feb 15, 2011
I would like to find a tools to change csv file to excel , I tried google , there are some tools can do it , but the file have some specical character and Chinese character , can advise what tools is good for it ?
another that , I have one specical requirement , I would like the tools can change the date format of a specific column ( eg. from mm-dd-yy to dd/mm/yy ) , is there any tools can do that ?
View 12 Replies
View Related
Mar 17, 2010
In order to change host name I usually create a file with this:
nano /etc/hostname (after going SU)
And in that I type the new hostname.
Also I did this too...
nano /etc/hosts
127.0.0.1 localhost <hostname>
nothing happens. OS is PCLinux
View 5 Replies
View Related
Jun 8, 2011
I have a c file, and I want to open it but not in the terminal. After changing the permission, I tried: vi, pico, ed and vim. But, all open it in the terminal. How can I change the permission of that file to be opened and edited not in the terminal? When I change the permission from the terminal, it only let me edit it through the terminal, and when I check the permission of the file I see it as was it (no change). I need a permanent permission. Although, I command as a root.
View 7 Replies
View Related