General :: Distiguish What Processes Are Opening A Particular File?
Mar 20, 2011I am in need of a way to distiguish what processes are opening a particular file.
View 2 RepliesI am in need of a way to distiguish what processes are opening a particular file.
View 2 RepliesIf there's some file, how can i forbid user to open it ? Ex. some text file or video file and forbid regular users (except root) to open/play it . Wouldn't chmod work here or should i use some other method ?
View 2 Replies View RelatedI ran a program that writes continuously from 1 every line. After some time I ran '/dev/null > temp' Problem1: bash: /dev/null: Permission denied (Yes, the permissions of /dev/null are correct ... crw-rw-rw-. I removed and created it again, but no change) I used 'cat temp' to see the contents and first few lines deleted (working correctly). Problem2: I can't open the file (with double click or with any graphical editor like gedit)
Apart from these problems, I have another question... Is there a way to trim a active log file to say 80% without affecting any logs that server might be writing.
I am running an Ubuntu(10.04) box and I am attempting to understand an error in a program.I don't have access to the source of this program, but I know it isn't working properly because it cannot find a particular file. I was wondering if it would be possible to monitor what file are accessed(more specifically denied access) by a process. My first idea was to breakpoint on fopen, but I didn't have any success.
View 1 Replies View Relatedi recently installed Fedora 14 and when i'm trying to open any file i'm getting this error
[root@blitz Documents]# gedit /home/blitz/Desktop/test
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection-
[code]....
I have a MP3 player which is owned by Root. I have tried the following: in terminal - chown as both my usual log-in and root operation not permitted. I ran chown as both su, root, and myself. In Nautilus - I can't change any of the file attributes again opening it as any of the users above. I used to be able to copy files over to the MP3 player but not the Sandisk but not I can't copy or do anything to the files on both.
View 1 Replies View Relatedi have the following graphic card:Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03) i think appropriate drivers are installed at the time of installtion! but the compiz (desktop effects) are not working! i have installed nvidia-settings! it says: You do not appear to be using the NVIDIA X driver. edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server. then i tried to run "sudo nvidia-xconfig" but it says"command not found!
View 1 Replies View RelatedProblem in adobe reader. Computer is hanging when opening .pdf file.
I recently installed adobe reader 9.4.2 on my computer. Im using mandriva. Do anyone knows how to reconfigure adobe reader?
When I try to run totem it crashes when opening a file. I'm using mandriva linux 2009 spring edition.
View 2 Replies View RelatedI have installed CUDA-BLASTP on C2050.It is giving me an Error:"Bad address Error opening matrix file (null) for reading" while i am running with following query file and dataset:
./CUDA-BLASTP -i ./data/raimondii_contigs.fasta -d ./data/DB_sorted.fasta
and i am using BLOSUM62 as a matrix file which is already present in package.
And getting the error:"Error happened when the number of GPUs is 0" while i am running CUDABLASTP with a part of dataset taking as a query file and dataset is same. above mentioned error is comming from file "CUDA_Blast.cu" included in package.
else
{
printf("Error happened when the number of GPUs is %d
", localGPU_N);
exit(0);
}
I am trying to check what all processes are accessing a particular file (a UDP socket in my case) on a filesystem.I am using 'fuser' for that.But, it seems, it only gives the processes accessing the file at that particular moment.Is there any way to continuously run 'fuser' (or some other command) which will give all processes accessing the file during its run?OR is it possible to generate a filesystem alert when a particular process accesses the file?
View 1 Replies View RelatedRecently I migrated from Ubuntu to Debian, first thing i wanted to do was to give myself sudo permissions and lock the roir account. By default sudo group don't have permissions to do this on debian, so i wanted to edit sudoers file by typing visudo. But i keep getting this
error: Error opening terminal: vanilla How can i solve this.
I have 2 completely different processes A and B (they do not have any relationship) suppose A opens a file with file descriptor 4 and B opens another file with file descriptor 5
Can process A use the fd 5 (i.e using the file object of processs B) by any means..if suppose i let the fd 4 of process A to point to the file object of process B(fd 5) will it work? is it safe?
After an update recently I noticed that my process count jumped up quite a bit. Somehow it doesn't seem related (it was an apt update I believe), but I'll just throw it out there. All of the extra processes seem to be related to XFS and JFS file system kernel processes, but none of my file systems use XFS nor JFS, just EXT3 & EXT4. Is there any safe/easy way to kill off these processes and prevent them from re-spawning? I don't find having irrelevant idle processes to be beneficial nor efficient. It's using Ubuntu 10.04 64-bit. Only active file systems are EXT4 and EXT3.
[Code]...
I've downloaded a game, thats a rar file, but when I try open it with archive manager it says Archive type not supported. What do I need to open / extract the files?
View 7 Replies View RelatedI am trying to use Firefox to open a *.csv file from a download button on a Web page. The download button would open a dialog that offers me to choose to either open the file with Open Office Calc or save the file. I would like to open it on the fly. But an error comes up that reads:
Code:
/tmp/HIST1031-4.csv could not be opened, because the associated helper application does not exist. Change the association in your preferences.
The helper application in Firefox's Edit > Preferences is Open Office Calc. I checked in /usr/lib/openoffice.org3/program/, and found the script for scalc.
how i can say fedora that if a file has a special suffix to open it with a special app?? such as .oct with octave or ...?
View 6 Replies View RelatedI tried to install DrRacket on my computer, and it's an .sh file. Do any of you know how to go about doing this? I tried Gedit, and it couldn't detect the character encoding.
View 9 Replies View RelatedI downloaded the crystalHD linux driver for the broadcom accelerator chip for my HP mini, cause I'm fly like that, and its in a tbz2 file, but whenever I try to extract the file so I can build the driver, I get this error.bzip2: (stdin) is not a bzip2 file.tar: Child returned status 2tar: Error is not recoverable: exiting now
View 1 Replies View RelatedI'm trying to open a T09 file (H&R Block tax return file) or convert it to a PDF.
View 1 Replies View RelatedFirefox opens file listing instead of Nautilus opening file listing.When I access a folder via "Places" -> "Home Folder" or "Places" -> "Downloads", Firefox opens and list the contents of the directory.I have re-installed Nautilus, un-installed Firefox and then going to "Places" -> "Home Folder" or "Places" -> "Downloads" launches Nautilus and I can view the contents normally. Anybody else had this problem with Firefox ? Anybody know how to fix this Firefox problem ?Running Ubuntu Desktop 9.10 64bit.
View 2 Replies View Relatedafter successfully configuring the dwa-552 to work in master mode in ubuntu 10.04 (ath9k driver) I ran some file transfer tests. The download speed is very good (~50mbps) but the upload speed spikes at about 10-20mbps for the first few KB and then it's nonexistent (0-1kbps). This only affects file transfers or otherwise bandwidth consuming processes. Normal web browsing or ssh is not affected. After running a speedtest of my internet connection which is routed through the AP I could upload to the internet with 1mbps which is my inet connection maximum so apparently this is not affected. Tried the same file transfers with netcat to eliminate any other factors and had the same problem. dmesg and hostapd debug did not report anything unusual
View 2 Replies View Relatedwhen I type "crontab -e" to edit the file, it is not opening in the editor & showing output as "285". I just wanted to edit crontab, So could anybody please tell me which is the real file of crontab, so I can manually edit that file using vi editor or nano. Or if that default editor is corrupted when I type "crontab -e", how can I change default editor before using "crontab -e" command. I will be waiting for your kind reply
View 2 Replies View RelatedI have a .png file and I didn't know which program I had to type to use it what could I do to find out?
View 8 Replies View RelatedWhat does this message mean:
'(gedit:14074): Gtk-WARNING **: cannot open display:'
I'm trying to open a text file from another computer via ssh. Is it a permission problem.
I'm trying to open Microsoft .chm file with wine on Linux but when it opens its only the content tab on the left pane that the text gets displayed i.e. the table of content but the right pane where the content of the pages are meant to be displayed is blank. I'm running fedora 13 and I installed wine via yum.
View 2 Replies View Relatedhow to detect if a file is being opened by any application so that i can block it just before opening it... Actually i am working on android and using iNotify in JNI to detect the OPENING of a file...but the file is getting opened before the iNotify detects it..and therefore its displaying the contents of the file unmodified .. The actual requirement is that if anyone is trying to open the file it should be modified by my program and then the modified file should be opened.
View 10 Replies View RelatedSince I installed Slackware 13.37 I'm having problems with Okular. Whenever you open a .pdf file, it crashes immediately. Opening other file formats works fine.
View 2 Replies View Relatedi am using Fedora 14. Once system get hanged during opening a video file so I had to restart the system by pressing restart button. But after restarting there are few problems appearing like system monitor not opening and Thunder bird opening but not showing any folder including inbox.
---------- Post added at 04:54 AM GMT ---------- Previous post was at 04:42 AM GMT ----------
Looks like SElinux has stopped working
A recent update to Iceweasel 5 (version 5.0-6 ) on my debian (Linux xxxxx 3.0.0-1-amd64 #1 SMP Sun Jul 24 02:24:44 UTC 2011 x86_64 GNU/Linux) led to a rather odd an annoying behavior. Each time I try to open an external file (pdf, odt) or to save a file on the hard drive, then Iceweasel crashes systematically. Does anyone experience the same? Any idea of how to fix this?
View 5 Replies View Related