LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2009, 06:23 AM   #1
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Rep: Reputation: 21
Doubts on file permissions.


Hi All,
I have a small doubt with file permissions.My friend has a file in his bin folder with permissions as -rwx------ so obviously I cannot view or copy that file into my bin.But I need this file for editing.Is there any way for me to get this file.

Also if I want to add his bin path to my path variable will that script execute if I run it.If not is there any way out from this situation.

Thanks,
Ajit
 
Old 05-12-2009, 06:37 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I would think that the way to access the file would be to talk to your friend. Those permissions mean exactly what they say---the owner of the file is the only one allowed to do anything.
 
Old 05-12-2009, 08:50 PM   #3
luiz 55
LQ Newbie
 
Registered: Dec 2008
Location: Brazil
Posts: 18

Rep: Reputation: 0
Well I'm not sure if it works in all distros, but in Ubuntu, you must be root to change the permissions of a file. If you have permissions for being so, hit Alt+F2, type "gksu nautilus" and the path of the containing folder. Then you'll be able to edit the file. You can do it by terminal as well. If it's a text file, type "sudo gedit (path of the file)".
Surely you should talk to your friend before making any changes in his file, but if he can't edit it as well, it means you have to be root user to do so.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to hide a file using file permissions in linux without using dot davender84 Linux - General 4 03-26-2009 01:13 AM
Doubts Regarding mysql++.h header file Gayathri.P Linux - Newbie 3 03-07-2008 01:34 PM
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 01:00 PM
unlinking a file in kernel modules + doubts dypgrp Linux - Newbie 1 01-26-2005 02:09 PM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration