Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, when i want to copy files from one folder to another folder, i get the permission denied message. I have logon as root in RHL 9. Pls asvise. Thanks
Hi, i was doing kernel compiling. I just copy the linux RPM 2.6 kernel from cd to a folder.
Regards
Daniel
Quote:
Originally posted by rose_bud4201 Which files are you trying to copy, and to where? That would go a long way towards figuring out why you might be getting that error
Without knowing whether the permission error is happening when he's trying to read from the CD or write to the filesystem (the exact error message would help here), and without knowing the permissions of the destination directory, it's sort of hard to diagnose the real error.... :-/
I also check on the /usr/scr folder properties->permission , it says i'm not the owner and only have read and execute permission. is this the problem ? Thanks
Regards
Daniel
Quote:
Originally posted by rose_bud4201 Which folder? If you would, please run ls -la <destination foldername> and post the output?
Forget to mention that, i already copy the file from CD to a desktop. Now i want to drag the file to that folder but it gives me this error message. Thanks
Regards
Daniel
Quote:
Originally posted by DanielTan Hi, below is my output from a terminal
[root@localhost usr]# ls -la
drwxr-xr-x 3 root root 4096 may 6 07:44 src
I also check on the /usr/scr folder properties->permission , it says i'm not the owner and only have read and execute permission. is this the problem ? Thanks
Post the command that you run to move the file. Or are you doing it from a gui, which if you are, you most likely not running as root (and if you are, you really shouldn't be).
Root can rwx to the specified folder.
Everyone else can only read and execute in that folder, so if you are running as anyone else, you will not be able to put anything in that folder. Try running as root and see what happens.
Perhaps more correctly, don't login as root and try to drag it from wherever it is not to /src/ through a GUI. Open up a terminal as your normal user, su to root, and cp the file manually.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.