Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 guys!
I had Windows on my machine but I decided to try Ubuntu 11.04. I kept my partitions where I store music, movies and stuff and it is OK, I can open anything, but I can't open the files that were in a hidden folder. I see then, I can browse my Windows hidden directories, but I can't open the files! Help?!
Open your Terminal, Both things Adol offered will be commands issued from here.
Then enter the command to get root access (assuming you know the password) which is su...
that command will look as follows:
Code:
you@machine:$su
Then it will ask you for the root password. (*NOTE: When you are typing the password that nothing will show up. No ****, no letters, nothing. So don't worry if you don't see anything just type the password as you normally would and hit enter)
After giving the password it should look like this:
Code:
root@machine:~#
Now you can access and run things as "administrator".
As far as chmod 777, ch is a command used to CHange the permissions of a file. That way you can have it so that only one person can look at something, and another can edit it. or so everyone can use it. I believe 777 is all users get access to read/write, But I am not sure. Given your circumstance though, I think that may be what was recommended.
Sorry I can't give you any real tech help. But hopefully this little run down gave you a little help at least. Good luck!
What the hell? I mean i have a password, i am the only user of the machine, but when i enter my password it sais "Authentication Failure" . I am going into a different issue now
try sudo instead. Ubuntu as default has a locked root password. su and sudo are essentially the same, Except sudo gets put before a command and doesn't require you to login.
EXAMPLE:
Code:
sudo /home/YOU/documents/homework
Would pull up that file, and allow you to do to it whatever the root could do.
Other then explaining what those 2 things and the ch command do, I can't really be of much assistance with your problem.
If you ever need su in the future though, This LINK may help ya with that.
---------- Post added 05-23-11 at 04:59 AM ----------
Sorry for reccomending same thing repo, I was still typing when you posted that. My bad
Would pull up that file, and allow you to do to it whatever the root could do.
This is incorrect. sudo allows you to run a command as another user, so your example would "run" the file /home/YOU/documents/homework, not "pull up" said file (by which I assume you mean "open").
While possibly not relevant to the OP's question, they should read the Ubuntu documentation if they haven't done so already.
Yes repo! error messages exactly, but only with the hidden files... at least i thing this is the problem, because i can do anything will the rest files
Yes repo! error messages exactly, but only with the hidden files... at least i thing this is the problem, because i can do anything will the rest files
Yes, i can open them when i boot windows .. well see im a bit stupid because i fucked up my windows boot the when i installed ubuntu for first time so then i was trying to open these files then and i couldnt and thats mostly why i fixed my windows but i couldnt repair it and i didnt want to format my windows drive so i installed 1 more windows 7, and then on my machine i had 2 times windows 7 and one ubuntu 11.04 but on bootscreen whichever windows i chose it was loading my first (old) windows 7 - probably i cant have two, i dont know and i dont care so with the EaseBCD i decided to remove one Windows 7 just because it didnt look nice and here i am again - fucked up boot, cant load windows thought i have it on my hdd.
however when i fixed the windows i was opening these hidden files without any problems and i even made them visible just in case but i stll cant open them in ubuntu and since i dont want to install windows again i am looking for a way to open them or have any access to them because i cant even copy them.
they are files for my graduate thesis and probably future job that nobody should not see and thats why they are important and i want to open them.
looks like i've hidden them good that i cant even open them myself
Yes i unhided them before i fuck it up again!
Last edited by wiggafigga; 05-23-2011 at 08:08 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.