LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2003, 06:51 AM   #1
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Rep: Reputation: 15
changing file permissions(fast reply required)


i want to change the permissions of a folder.. ( it is /proc by the way)
but i am not able to change the permissions..

this is a RH 9 system and i am logged in as root
please help.. and fast..

Regards
Xing
 
Old 09-18-2003, 07:00 AM   #2
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
chown <username> <directoryname>
 
Old 09-18-2003, 07:29 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
why are you messing with /proc? don't touch it.
 
Old 09-18-2003, 07:36 AM   #4
Siddhartha
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 9.0
Posts: 1

Rep: Reputation: 0
chmod u+whatever(rwx) g+whatever o+whatever ifilenamehere
 
Old 09-18-2003, 07:40 AM   #5
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
oh sorry.I didnt notice that he was mentioning '/proc'.Ofcourse you cant change the ownership of /proc to some users.

Last edited by arunshivanandan; 09-18-2003 at 07:42 AM.
 
Old 09-18-2003, 07:48 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
and please do NOT ask for fast ur urgent replies. thanks
 
Old 09-18-2003, 08:33 AM   #7
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Original Poster
Rep: Reputation: 15
dear acid_kewpie

why don't u put up a restrictions list alonside each page of this list..
i do not think asking for an urgent reply is doing any harm or breaking any rule...
this list is for the help of people and if u think it shud run by ur whims then please pass on the controls to a person who does not get irritated by such petty issues...

Regards
Xing
 
Old 09-18-2003, 08:55 AM   #8
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
http://www.die.net/doc/linux/man/man1/chown.1.html

http://www.die.net/doc/linux/man/man1/chmod.1.html
 
Old 09-18-2003, 09:03 AM   #9
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
what do you want to change the permissions to?
If you don't want to change ownership, then use chmod [see win32sux's reply]
 
Old 09-18-2003, 09:14 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
It is not a "whim" it is generally considered very poor nettiquette to demand fast replies. the members of this site are voluntary, and attempting to demand preferential service is not fair or polite. many people will actively ignore posts where the author has maked them as "urgent" or similar, and so is often a very counter productive step.

i'd also suggest people stop recommending chowning / chmodding /proc.... if permission issues are arising on /proc then either the uers is trying to do somethign incorreclty or a more seriosu problem will most probably exist.

Last edited by acid_kewpie; 09-18-2003 at 09:17 AM.
 
Old 09-18-2003, 10:34 AM   #11
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
sorry acid, I forgot to read that it was /proc he was trying to alter the permissions of.
If you'll excuse my asking, why are you trying to alter the permissions there?
what is the current mode of the folder?
 
Old 09-18-2003, 11:44 PM   #12
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Original Poster
Rep: Reputation: 15
i got the point acid_kewpie......

to other users...
i have installed the L7 filter in my kernel and it makes a file in /proc/net. now this file is wholesum of the program and very important for the running of this particular application..
but unfortunately, my installation is not exactly doing so.. so just thought of creating the file myself and put the contents in it..
but both /proc and /net have the 555 permission so i cannot write in them.. i managed to successfully change the eprmission of /proc but /net cud still not be forced into it... that is why i posted this question.

see, nothing fishy in this.. just trying to do my own work with help of so many friends out there
 
  


Reply



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
Help Required on FILE PERMISSIONS!!! bharaniks Linux - Security 3 06-10-2005 12:08 PM
File Permissions, Help Required!!!! bharaniks Linux - Security 6 05-17-2005 02:57 AM
Dual Booting - Please Reply Fast Steelrat Linux - Newbie 3 02-14-2004 07:04 PM
What is changing my file permissions? lamekain Linux - Security 10 12-08-2003 04:22 AM
Changing file permissions on a SAMBA file share apenney Linux - Software 0 02-11-2002 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:03 AM.

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
Open Source Consulting | Domain Registration