LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-23-2011, 04:47 AM   #1
wiggafigga
LQ Newbie
 
Registered: May 2011
Posts: 7

Rep: Reputation: Disabled
Question Can't access Windows hidden files


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?!
 
Old 05-23-2011, 04:59 AM   #2
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Rep: Reputation: 6
Not sure if it will work but have you tried using root to access them?

Code:
su
also you may want to try

chmod 777 on the file that you want to use.

Last edited by Adol; 05-23-2011 at 05:00 AM.
 
Old 05-23-2011, 06:32 AM   #3
wiggafigga
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Sorry, what do you mean "chmod 777 on the file that you want to use".
I'm new to Linux
 
Old 05-23-2011, 06:42 AM   #4
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Rep: Reputation: 40
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!

Last edited by Hevithan; 05-23-2011 at 06:44 AM.
 
Old 05-23-2011, 06:48 AM   #5
wiggafigga
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-23-2011, 06:52 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
but I can't open the files!
error message?
Quote:
Then enter the command to get root access (assuming you know the password) which is su...
In ubuntu use sudo

Kind regards
 
Old 05-23-2011, 06:58 AM   #7
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Rep: Reputation: 40
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

Last edited by Hevithan; 05-23-2011 at 07:00 AM.
 
Old 05-23-2011, 07:13 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Hevithan View Post
EXAMPLE:
Code:
sudo /home/YOU/documents/homework
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.
 
1 members found this post helpful.
Old 05-23-2011, 07:22 AM   #9
wiggafigga
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks!
Well i tried first typing the command

sudo /media/sda8/oldies

and it sais there is no such command

then i went to the directory (as i said i can browse em, but i cant open files) and tried with

sudo acroread blabla.pdf

but i had no success again



When i do it in GUI it sais "Could not load file 'blabla.pfd' "

Last edited by wiggafigga; 05-23-2011 at 07:24 AM.
 
Old 05-23-2011, 07:23 AM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
but i cant open files
error messages?

Kind regards
 
Old 05-23-2011, 07:28 AM   #11
wiggafigga
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-23-2011, 07:30 AM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by wiggafigga View Post
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
Perhaps you can post the error messages?

Kind regards
 
Old 05-23-2011, 07:34 AM   #13
wiggafigga
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Of course



"Could not load image '2.jpg' " for an image


or "an error accurred. could not read from resource." for a video with Movie Player
 
Old 05-23-2011, 07:41 AM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Are you sure the files aren't corrupt?
Can you view them in windows?
Why are they hidden files?
What happens if you unhide them in windows?

Kind regards

Last edited by repo; 05-23-2011 at 07:47 AM.
 
Old 05-23-2011, 07:54 AM   #15
wiggafigga
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make files hidden from windows when using linux.? ciden Linux - Newbie 5 05-19-2008 02:17 AM
How to hide Windows hidden files in Linux Beauford-2 Linux - Server 1 02-27-2007 06:02 PM
How to make .foo files hidden in Windows underdawg General 2 09-23-2005 03:49 PM
Windows XP Hidden files on a DVD Universalpsyko Linux - Newbie 2 02-01-2005 01:31 PM
Can't see hidden files burned with Windows KTLiberty Linux - General 23 09-18-2004 12:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration