LinuxQuestions.org
Visit Jeremy's Blog.
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 04-01-2013, 02:44 PM   #1
teunis
LQ Newbie
 
Registered: Jul 2005
Location: Curacao
Distribution: SuSE 9.0
Posts: 5

Rep: Reputation: 0
ls command


OpenSUSE 12.1 ext4 fie system
Here is a part of the output of the ls -l command
Code:
-rw------T  1 teunis users       328 Feb  6  2012 .gtkrc-2.0-kde4
d?????????  ? ?      ?             ?            ? .gvfs
drwx-----T  2 teunis users      4096 Apr  1 09:50 .hplip
logged in as root I can't rm or chown the .gvfs directory
Any suggestions how to repair? Thanks
 
Old 04-01-2013, 04:24 PM   #2
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Umont the filesystem and run fsck?
 
Old 04-01-2013, 04:39 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
IIRC, GVFS is a virtual file-system used by Gnome and XFCE, so a rm or chmod wouldn't make much sense anyways, unless it is your intention to crash your DE (or at least the file-manager).
More info here: https://en.wikipedia.org/wiki/Gvfs
 
1 members found this post helpful.
Old 04-02-2013, 07:53 AM   #4
teunis
LQ Newbie
 
Registered: Jul 2005
Location: Curacao
Distribution: SuSE 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
I don't know where home is situated
So I did a fsck on /dev/sda2 (the biggest partition)
It did not help. I like to chown to myname:users
Anyway those ?? are showing trouble.
Any suggestion is welcome!
 
Old 04-02-2013, 08:09 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
As I stated before, GVFS is a virtual filesystem, fsck will not help here. As long as there are no problems besides the weird ls output I would just not care about it.
 
Old 04-02-2013, 04:51 PM   #6
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 284
Blog Entries: 7

Rep: Reputation: 43
Quote:
Originally Posted by TobiSGD View Post
As I stated before, GVFS is a virtual filesystem, fsck will not help here. As long as there are no problems besides the weird ls output I would just not care about it.
Quite right!!

As long as it isn't interfering with the operation of your system, don't bother it.
 
Old 04-04-2013, 09:07 AM   #7
teunis
LQ Newbie
 
Registered: Jul 2005
Location: Curacao
Distribution: SuSE 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
I am surprised about the answers: No problem - Don't worry.
The feature, that I like about Linux is that I understand / know what is going on.
Is there nobody among the linux users that knows how to get rid of the ???
If there is someone, Please, try to formulate an answer. Thanks
 
Old 04-04-2013, 09:25 AM   #8
GazL
Senior Member
 
Registered: May 2008
Posts: 3,392

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
d????? on a directory like that usually signifies that you're missing +x permissions on its parent directory.
 
Old 04-04-2013, 10:07 AM   #9
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 1,434

Rep: Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599
The filesystem mounted on .gvfs is a highly specialized virtual filesystem that has meaning only to programs connected to the current Gnome session. Programs outside of that session, even when run by root, are denied access and cannot even do a stat(2) system call to get the metadata for the directory. Your ls command is displaying question marks for the data it could not obtain.

If you tried to run "ls -ld ~teunis/.gvfs" you would see the "Permission denied" message that you probably overlooked somewhere in your longer ls listing.

Last edited by rknichols; 04-04-2013 at 10:09 AM.
 
Old 04-04-2013, 06:36 PM   #10
teunis
LQ Newbie
 
Registered: Jul 2005
Location: Curacao
Distribution: SuSE 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
No I did not overlook the "Permission denied"
I am surprised that if I am logged-in as root I STILL get that message.
I can accept warnings and advices but not a "denied" answer from the OS
 
Old 04-04-2013, 08:02 PM   #11
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 1,434

Rep: Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599
I suppose that EPERM ("Operation not permitted") might be a more suitable setting for errno in this situation rather than EACCESS ("Permission denied"). If you were to suggest that on the Linux kernel mailing list, it might actually get a positive reception.
 
Old 04-05-2013, 09:10 AM   #12
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 284
Blog Entries: 7

Rep: Reputation: 43
You could always contact the maker of your distro............
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Command/Script required to send an email alert in case command will not respond rajaniyer123 Linux - General 1 05-19-2012 01:12 PM
Executing shell command from JSP file with command line arg from URL orcusomega Programming 2 01-13-2012 03:38 PM
Bash Command Line Editor, while typing run another command before executing current? gumaheru Linux - General 5 04-13-2010 11:21 AM
how to copy drive using dd and tee command parallely? source code of dd command mdfakkeer Linux - Software 1 02-10-2010 01:31 PM
URGENT! Is there any command to get a history command lines and time in SUSE Linux.? igsoper Linux - Software 5 06-25-2009 02:14 AM


All times are GMT -5. The time now is 08:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration