LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   changing file permissions(fast reply required) (https://www.linuxquestions.org/questions/linux-software-2/changing-file-permissions-fast-reply-required-94113/)

Xing 09-18-2003 06:51 AM

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

arunshivanandan 09-18-2003 07:00 AM

chown <username> <directoryname>

acid_kewpie 09-18-2003 07:29 AM

why are you messing with /proc? don't touch it.

Siddhartha 09-18-2003 07:36 AM

chmod u+whatever(rwx) g+whatever o+whatever ifilenamehere

arunshivanandan 09-18-2003 07:40 AM

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

acid_kewpie 09-18-2003 07:48 AM

and please do NOT ask for fast ur urgent replies. thanks

Xing 09-18-2003 08:33 AM

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

win32sux 09-18-2003 08:55 AM

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

http://www.die.net/doc/linux/man/man1/chmod.1.html

andrewlkho 09-18-2003 09:03 AM

what do you want to change the permissions to?
If you don't want to change ownership, then use chmod [see win32sux's reply]

acid_kewpie 09-18-2003 09:14 AM

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.

andrewlkho 09-18-2003 10:34 AM

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?

Xing 09-18-2003 11:44 PM

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 :)


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