General :: File Privileges - Check And Set Who Can View Or Open A Given Folder Or File?
Jul 30, 2010How can I check and set who can view or open a given folder or file?
View 1 RepliesHow can I check and set who can view or open a given folder or file?
View 1 RepliesI am using RHEL 5.I have a very large test file which cannot be opened in vi.The content of the file has some 8000 lines.I need to view ten lines between 5680 to 5690.How can i view these particular lines in a large file.what is command and option i need to use.
View 1 Replies View RelatedI want nautilus to use file preview or not depending on what the view is for that folder. I want file preview to be enabled if I am using icon view, and disabled if I am using list view. This way image folders will be previewed (because I have set such folders to icon view), and other folders wont be (because they default to list view). I also want the desktop to be always previewed.This seems like quite a simple and common-sense desire, but I cant find out anywhere how to do this. At the very least what I'd like is the ability for force preview for a folder if I want to investigate it more closely - even if I have to click a button of select something to do so.
View 1 Replies View RelatedI installed ubuntu maverick a couple days ago, total newbie. After trying to install some software I no longer can access any of the Places folder and get an error - file not found.
I can open Computer, partitions and devices, just not the first 7 folders which i think are bookmarks.
Thanks for helping, U.
Ok, I eventually solved it. Appears I had inadvertently selected another program as default folder openenr. Just opening any folder with right click - open with - folder openenr reassigned nautilus and opens Places folders ok.
How does one open a folder with root privileges? I am trying to extract a screenlet into a screenlet folder but it says permission denied. How do i change that?
View 4 Replies View RelatedI am trying to sort image files I've assembled for document production, and I need to be able to see the height and width of the images without having to open them one by one. Is there a way to view an image's physical size in the folder window?
View 1 Replies View RelatedI know there's no direct way to do this. But can someone please suggest how I'm able to check the last user that opened a file?eg; vi test.txtThe last user that accessed test.txtI know last access/mod/change time can be displayed.Also lsof won't do anything as the script I'll be writing won't necessarily be running when the user has already closed the file
View 4 Replies View Relatedmy partitioning layout was as follows
Vista Recovery
Windows 7
GRUB
Extended
-->Fedora 12 (ext4)
so, I shrunk my recovery in Windows 7 successfully, and booted into my Fedora 12 live cd to run Gparted, and move the partitions so that the free space could go towards fedora, I did such, and then I couldn't expand the partition to my dismay. Next, I woke up this morning, tried to boot to fedora to run SSH, grub loaded, but when I tried to boot fedora, I got the "File system check failed" error, and when I tried 7, it just went to a blank screen with a single "_" in the top left-hand corner.
How can I know the privileges against a file in Linux? I have logged into a Linux server as a normal user (not as an admin) to see some shell scripts in a directory. Assume that a file named Denem.sh is present in the directory. How can I know which rights / privileges are provided to me for that file (Denem.sh)? How would I see if it is read-only or if I can modify it?
View 1 Replies View RelatedI was looking for a plugin to open pdf files in a new tab, acroread does but doesent remember the last view of the last file opened. So, is there a way to open pdf files through evince or okular within FF?
View 1 Replies View RelatedCode:RW-00022: Error: - Unable to create file with proper privileges: JAVA_TOP Mount Point = /media/SAMSUNG/d01/oracle/vis/apps/apps_st/comn/java/classes test using command: su applmgr -c "touch /media/SAMSUNG/d01/oracle/vis/apps/tech_st/10.1.3/appsutil/jdk/test.tst"
touch: cannot touch `/media/SAMSUNG/d01/oracle/vis/apps/tech_st/10.1.3/appsutil/jdk/test.tst': Permission denied
I am trying to install Oracle ebs on my machine and I keep getting the above error.
Via empathy a friend sent me a windows folder containing jpg files. I suppose he just drag and dropped the folder into the messenger window in Win7 and sent it to me that way. I accepted and saved on the desktop. Empathy turned the folder into a .tar file. When I try to open the tar file I get the following error:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Not surprising as it is indeed not a real tar archive. When I check to see which filetype it is with the file command it says -data. I've tried multiple versions of mount commands with various filetypes but I just can't seem to open this thing. How can I open this folder saved as .tar?
I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.
View 6 Replies View RelatedI'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
[code]....
I am using xubuntu and there are a few types of files on website that instead of downloading and saving and then opening with emacs, I would rather when the radio button choice comes up say open with emacs. I am using xubuntu with xfce, and there is no line for a command to be entered as some ubuntu editions have. In the choice of changing the opening program from mousepad to something else, it says search and allows to navigate to find a program, but I cant find emacs anywhere not in etc/ or elsewhere. So where is its executable to direct the program chooser to?
View 1 Replies View RelatedI'm trying to install PCSX2 (PS2 emulator) and I get the following error: ./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed. My system has the following file:
/usr/lib/libgtk-x11-2.0.so.0
error message when I ran my program that I couldn't open my local file. I have two files first one is called client, second one is called server I am using named pipes to sent a message from client to the other file called server in client I used mknod() to create the two named pipes,one for read,one for write and created new thread in client using fork() spawned a child process that executed the server file both named pipes are opened the client file got the message from the user and sent it through the named pipes to the server file when the server receives the message , it needs to verfify it is correct in the server file, a local file descriptor is created to read and send this verifing message when it is not correct but I am getting an OPEN() error when I tried to open this shared local array buff and attach it to a file descriptor where the message is kept why do I get this error in server file
int main()
{
/*both named pipes are open*/
rfd=open(IFIO1,0);
wfd=open(IFIO2,1);
[code]....
how to verify if the file is binary or text without to open the file
View 2 Replies View RelatedIn the kde realm, with the dolphin file browser, I can open a terminal in whatever folder is in the gui by using the shift and f4 keys. I'd like to be able to accomplish the same in gnome with the nautilus file browser but can't figure out how to do same. So far I have to open a terminal and then cd to the desired folder. Or do I have to use some other file browser and which one?
View 2 Replies View RelatedI have a remote Debian 5 machine on which I'm trying to extract a tar-file (Django 1.2.1, but that's unimportant). The first 1300 or so files extracts just fine (of about 2800 in total), after which errors liketar: Django-1.2.1/tests/urls.py: Cannot open: No such file or directoryshows up for the rest of the files, finally ending up with atar: Error exit delayed from previous errorsI use the commandtar xzvf Django-1.2.1.tar.gzI've also tried with sudo (but I'm extracting in my home directory, which I should obviusly have permissions to use without). I've tried gunzipping first (runs flawlessly) and then running tar xvf, but to no avail. I've fetched the file using wget:
View 1 Replies View RelatedI need to goto a folder, open a script file (same file every time). The file has different function calls, I need to comment all other function calls and just un-comment the one I want to use.
#call_1
call_2
#call_3
[code]....
When I upload a file to a shared folder, it gives me the choice of checking a check box that says "publish", what's the difference between checking/not checking it?
View 5 Replies View Relatedi have a doubt regarding chm file.how to view chm file in redhat linux EL5
View 4 Replies View Relatedi have a doubt regarding chm file.how to view chm file in redhat linux EL5
View 2 Replies View RelatedI am working on a linux cluster based on Scientific Linux 5. I have some images in .bmp format. How can i view them from the command line or without downloading to desktop? At present I am connecting from Win7 using Exceed.
View 4 Replies View RelatedFor example, I write the file like in vi or something. I wanna execute but no one read , write and execute but one more thing no one to view the file like encrypt the file.
View 5 Replies View Relatedhow can we view a file with its inode nno . eg. cat 12456 where 12345 is the inode of a file
View 3 Replies View RelatedI want to be able to check the contents of a text file for a specific string and remove it from the file from the command prompt. I would basically be searching through a number of files and if a specific string is found I would like it removed automatically. pretty much a find and replace, were the replace is nothing. any one got any ideas on how you would do this. I already have the search part sorted just need to be able to remove the string I don't want from the multiple files.
View 4 Replies View RelatedI'm having a file with repeated particular text lines. So I need to view the file content ignoring these lines. Is there anyway I can achieve this using VI
View 2 Replies View Relatedview WINDOW excel file without using GUI
View 1 Replies View Related