General :: Forbid User From Opening A File?
Mar 24, 2010
If 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
ADVERTISEMENT
Oct 24, 2015
I want to forbid a user to make changes to preferences of iceweasel, specifically to modify proxy settings of the browser. Although user should still be able to use the browser.
I assume these settings are stored in some file on a harddrive? If so, what is this file and can i simply make it read-only for users? Or any other solution?
View 4 Replies
View Related
Jun 14, 2010
I have an application that creates temp files and quickly deletes them. But I'd like to keep those files, is there a way to do that in Linux?
View 2 Replies
View Related
Mar 20, 2011
I am in need of a way to distiguish what processes are opening a particular file.
View 2 Replies
View Related
Dec 8, 2010
I 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.
View 3 Replies
View Related
Aug 23, 2011
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 Related
Nov 13, 2010
i 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]....
View 2 Replies
View Related
Oct 23, 2010
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 Related
May 12, 2010
i 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 Related
Jun 27, 2011
Problem 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?
View 14 Replies
View Related
Apr 8, 2010
When I try to run totem it crashes when opening a file. I'm using mandriva linux 2009 spring edition.
View 2 Replies
View Related
Feb 2, 2010
I want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?
View 3 Replies
View Related
Dec 22, 2010
I 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);
}
View 2 Replies
View Related
Nov 13, 2010
Recently 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.
View 1 Replies
View Related
Oct 13, 2010
I tried both usermod as su and System->Administration->Users and Groups but I keep getting an error saying the user is logged in (which is true). so what am I supposed to do? I don't want to open another user just for that...
View 2 Replies
View Related
Jan 4, 2011
Is it possible to forbid a non-root to umount a partition that was mounted via fstab-entry?
View 2 Replies
View Related
Apr 13, 2010
How do you open a program, in this instance "Zenmap", from the desktop in a user account when it requires root privileges? Is there a way to be prompted for the password, the same way, for instance, you're prompted when mounting a new file system or making a change to the system? I tried entering 'sudo /usr/bin/zenmap' when creating the shortcut, however that didn't work.
View 3 Replies
View Related
Jun 13, 2011
I was just testing specifying limit on file size to a user and have added the following to /etc/security/limits.conf bob soft fsize 100 This basically should have said not to allow bob to create anyfile greater than 100Kb in size.
But the interesting thing is, if bob already has any file which is greater than 100Kb in size, it even doesn't allow to log him into the system both from console and SSH. Also nothing is logged in logs.. How do I configure it so that, bob can login to the system even though he has any file greater than 100Kb (but doesn't allow him to create file which are greater than 100Kb) ??
View 3 Replies
View Related
May 16, 2010
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 Related
Oct 31, 2009
I 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.
View 6 Replies
View Related
Apr 4, 2010
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 Related
Oct 13, 2010
I 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 Related
Mar 22, 2011
I 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 Related
Feb 3, 2011
I'm trying to open a T09 file (H&R Block tax return file) or convert it to a PDF.
View 1 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
Apr 29, 2010
I am currently trying to add a new user on a linux box in the %post section of the kickstart file. The user however doesn't get created after I reboot the box after install. Am I missing anything ?Just for info. I am installing RHEL5.4 on a 64 bit box, I know this should not matter, but what the heck!!
View 4 Replies
View Related
Oct 4, 2010
How do I add a user in a sudoers file.
View 6 Replies
View Related
Jun 20, 2010
Firefox 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 Related
Aug 8, 2011
when 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 Related
Mar 15, 2011
I 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 Related