LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-11-2009, 08:29 AM   #1
ppb7
LQ Newbie
 
Registered: Oct 2009
Location: Lancaster, UK
Distribution: mint 17.3
Posts: 5

Rep: Reputation: 0
Question Some files on a USB stick won't open


here's the situation. I've got on a USB stick lots of files of different formats that open quite naturally when I double-click on them, EXCEPT files to do with the Net (HTML, CSS, PHP). i copied them to my desktop, where I can now open them with a preferred app. so why can I open a .doc file on my stick, but not a .css one? It seems I haven't got the necessary permissions needed to alter group permissions which are set to none (although other files like text files have the same set of permissions but i can still open them). I also checked the default.list and mime.types files ( as per suggested in another thread) and every thing is apprently as it should be; so I am puzzled. Can anybody help me find how to open those files while they're still on the stick?
 
Old 10-11-2009, 02:07 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
type sudo nautilus ---> enter password now try it. right click the file and open with your choice
 
Old 10-12-2009, 03:34 AM   #3
ppb7
LQ Newbie
 
Registered: Oct 2009
Location: Lancaster, UK
Distribution: mint 17.3
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Drakeo View Post
type sudo nautilus ---> enter password now try it. right click the file and open with your choice
Indeed, the command works as a new nautilus window opens. However, as soon as it is closed, then another nautilus window opened, the files don't open any more. So that means that I have to go again through the process you suggested and i rather wanted not to have to do it again. Is there a configuration file that could be altered?
By the way, the following is the error message that I get when running "sudo nautilus":
Quote:
** (nautilus:3646): WARNING **: Unable to add monitor: Operation not supported

--- Hash table keys for warning below:
--> file:///media
--> file:///root
--> file:///media/KINGSTON8GB

(nautilus:3646): Eel-WARNING **: "nautilus-metafile.c: metafiles" hash table still has 3 elements at quit time (keys above)

(nautilus:3646): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 3 elements at quit time
ppb7@ordi-dfamilial:~$
could that give a clue as to what i have to change?
Thanks in advance for your replies,
 
Old 10-12-2009, 03:48 AM   #4
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by ppb7 View Post
Indeed, the command works as a new nautilus window opens. However, as soon as it is closed, then another nautilus window opened, the files don't open any more. So that means that I have to go again through the process you suggested and i rather wanted not to have to do it again. Is there a configuration file that could be altered?
By the way, the following is the error message that I get when running "sudo nautilus":

could that give a clue as to what i have to change?
Thanks in advance for your replies,
Obviously if you can read the files while root, but cannot read the files while not root, the problem is file permissions. The solution is to change the file permissions.
 
Old 10-12-2009, 06:42 AM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
right click the file click properties click permissions and change it to your user.
 
Old 10-12-2009, 08:17 AM   #6
ppb7
LQ Newbie
 
Registered: Oct 2009
Location: Lancaster, UK
Distribution: mint 17.3
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Drakeo View Post
right click the file click properties click permissions and change it to your user.
that's exactly what I did before I posted the thread. All the files on my stick and their copies on my desktop are owned by me, yet only the latter open when i double-click on them. The stick files do open if you right-click on them and do NOT choose the default application. you will agree that this not very convenient, especially with frequently-used files. I am not an experienced linux user, by far, but suspect that I need to change settings somewhere so as to alter permissions.
There are 2 more things i have noticed (are they clues?)
-I can't change any permissions of my stick files (group, others, execute files) and if i want to change the name of the group, I am told that I can't because I haven't got the necessary permissions
-The permissions of the stick do not appear (could not be determined)
Also, I had a go at using chmod to see to what extent i could alter file permissions but don't seem to have got anywhere. However, i've got to point out once again that I wouldn'trust myself in any way regarding performing any task whatsoever. So all manners of comments, suggestions are welcome. (And remember that .doc, .odt and other commonly used files open with no problem)
 
Old 10-13-2009, 08:31 AM   #7
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
only time I have seen this is when the files were using encryption. this has happened many times.
Last resort down load puppy linux boot it up it runs in ram it is 96 mb a complete gui.
now open the usb drive then open your drive sda1 drive drag the files to sda1 this will ask you to move them or copy . copy them . now open them. If this does not work. You will have to go to that usb drives home website and read about there encrypted device. you may have to use M$ to access it.
Good luck.
 
  


Reply

Tags
open, permissions, usb



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading files from a USB memory stick wizard_chef Linux - Newbie 4 09-22-2009 10:32 PM
thunar copies directory files to usb stick out of order. curmudgeonbob Linux - General 1 07-28-2009 11:59 AM
LXer: Untangle Puts Open Source Security On A USB Stick LXer Syndicated Linux News 0 10-01-2008 09:50 PM
[SOLVED] Cannot copy to USB Memory Stick some files StefanP Linux - Newbie 2 05-23-2007 12:41 PM
USB Memory Stick/MP3 Player (Can't read files) jasarien Linux - Hardware 12 08-27-2004 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:44 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