fedora 12

jhooga

New Member
I am trying to move folders from my desktop into usr/local and when i try to i get permission errors, i have logged in as root and done that and still wont allow me, is there anyway to do this??
 
I am trying to move folders from my desktop into usr/local and when i try to i get permission errors, i have logged in as root and done that and still wont allow me, is there anyway to do this??

From terminal do this, and post it here

Code:
ls -al /usr/local

What exactly are you trying to move?
 
i downloaded a program that i am testing out as a project and on some of the books ive read on it they have all said to put those files into that folder

[root@Ana-SnortTest ~]# ls -al /usr/local
total 44
drwxr-xr-x 11 root root 4096 2009-11-09 11:10 .
drwxr-xr-x 13 root root 4096 2009-11-09 11:11 ..
drwxr-xr-x 2 root root 4096 2009-08-25 11:06 bin
drwxr-xr-x 2 root root 4096 2009-08-25 11:06 etc
drwxr-xr-x 2 root root 4096 2009-08-25 11:06 games
drwxr-xr-x 2 root root 4096 2009-08-25 11:06 include
drwxr-xr-x 2 root root 4096 2009-08-25 11:06 lib
drwxr-xr-x 2 root root 4096 2009-08-25 11:06 libexec
drwxr-xr-x 2 root root 4096 2009-08-25 11:06 sbin
drwxr-xr-x 5 root root 4096 2009-11-09 11:10 share
drwxr-xr-x 2 root root 4096 2009-08-25 11:06 src
 
i got it, i googled around a little bit and did a chmod -R 777 and that worked

That is not a good idea as that changes the whole /usr/local folder to r-w-x to everyone.

What program are you trying to install? Is it a compile your own or are you installing via package manager (like RPM file)?
 
im compiling it on my own, well trying to at least, i am installing snort and IDS system, this computer and whole system is for my use only and is being used for test purposes only, so for 'everyone' to see it really isnt a big deal cuz im the only one on it and will be on it
 
im compiling it on my own, well trying to at least, i am installing snort and IDS system, this computer and whole system is for my use only and is being used for test purposes only, so for 'everyone' to see it really isnt a big deal cuz im the only one on it and will be on it

Well, that goes against the model of POSIX permissions in the Unix/Linux world. You should really try to at least properly learn how the OS works if you are going to test it.

By allowing global read-write-execute to that directory and all recursive under it, you are opening up a big potential for mishaps to happen, on top of it being a huge security risk.

There is a reason they have manuals for such things, and changing the permissions of a root owned directory is always never going to be what they recommend to do.

Why don't you install snort via package manger?

http://webcache.googleusercontent.c...ora&cd=1&hl=en&ct=clnk&gl=us&client=firefox-a

It looks like Fedora uses YUM (yellow dog update manager) for it's package manager. Use that to install it and it will do it properly.
 
hmm okay i will give that a try and see how that works, i have never used linux before up until now so this is all new to me, it was the first thing google popped up, thanks for all the info :)
 
Back
Top