Results 1 to 8 of 8
Everywhere it says to put your executables inside "usr/local/src" but it says access denied in there and the whole HD.
Any help please? I just installed Linux and am reading ...
- 03-23-2008 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 24
Cannot put files in "media:/hda1"
Everywhere it says to put your executables inside "usr/local/src" but it says access denied in there and the whole HD.
Any help please? I just installed Linux and am reading one of the guides here.
Kenny
- 03-23-2008 #2Just Joined!
- Join Date
- Mar 2008
- Posts
- 5
does that user that you are logged in as have rwx permissions on that file system?
first see who the file system belongs to? usually root, which means you have to be logged in as root to write to the file system unless the permissons state otherwise for the owner, group, and public.
you can log in as root by typing su - and then enter the password for root.
once you've accomplished that then you can chmod the file system to give you the user access but not public so chmod 770 would give you and root user complete access.
if your not familar with chmod then you can type
man chmod press enter
this will pull up the command usage
- 03-23-2008 #3
You need to be root in order to access that directory. Executables are not supposed to go into /usr/local/src. That area is for packages that are in source form. I personally don't use that directory. I build packages and store tarballs in my home directory.
- 03-23-2008 #4Just Joined!
- Join Date
- Mar 2008
- Posts
- 24
Thanks guys but it doesn't work, what I am going to do is install the new ubuntu over it. Do you know any good guides that tells you how to go onto the Root account in ubuntu, or is it easier. I am installing the newest stable one.
Thanks
Edit: WIll the same thing happen in Ubuntu?
- 03-23-2008 #5
I think you will find by default the root account is disabled. There are good reasons for this, but if you wish to you can over-ride the default - I think you can do this during the install. Login as root is not recommended but its up to you.
Not sure what distro you are using from your post (maybe I just did not spot it) but there is usually a way of doing what you need.
- 03-23-2008 #6Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,044
Local "usable by all" executables go in /usr/local/bin. The "usable only by you" ones should go in the bin in your home directory. You'll always need root permission to write to /usr/local/bin (unless you change its ownership and that's not A Good Idea).
- 03-24-2008 #7Just Joined!
- Join Date
- Mar 2008
- Posts
- 24
- 03-24-2008 #8Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,044


Reply With Quote
