Greetings a crazy customer has outwitted me! he has managed this: ?--------- ? ? ? ? ? etc Firstly how the heck? Secondly is there a way to undo this? TIA Chad
On Tuesday 08 March 2005 12:32 pm, Chadley Wilson wrote:
Greetings
a crazy customer has outwitted me!
he has managed this: ?--------- ? ? ? ? ? etc
Firstly how the heck? Secondly is there a way to undo this?
Can't be sure of either answer but I think the first thing I would do is the proper fsck dependant on the filesystem type in use. -- Time is the best teacher. Unfortunately it kills all its students.
Allen Carpenter wrote:
On Tuesday 08 March 2005 12:32 pm, Chadley Wilson wrote:
he has managed this: ?--------- ? ? ? ? ? etc
Can't be sure of either answer but I think the first thing I would do is the I guess you are way beyond me. I didn't even understand the question. What did that mean?
Damon Register
On Wednesday 09 March 2005 15:59, Damon Register wrote:
Allen Carpenter wrote:
On Tuesday 08 March 2005 12:32 pm, Chadley Wilson wrote:
he has managed this: ?--------- ? ? ? ? ? etc
Can't be sure of either answer but I think the first thing I would do is the
I guess you are way beyond me. I didn't even understand the question. What did that mean?
Damon Register
Well You see I had tomake the point of interest first, (Cough Cough) It should look like this: # ls -la / |grep etc drwxr-xr-x 71 root root 6936 2005-03-09 08:32 etc I would love to know how to do and undo this sort of thing to files and folders. Chad
On Wednesday 09 March 2005 14:14, Chadley Wilson wrote:
It should look like this:
# ls -la / |grep etc drwxr-xr-x 71 root root 6936 2005-03-09 08:32 etc
I would love to know how to do and undo this sort of thing to files and folders.
I wonder what has been done. What happens if you do chmod 755 /etc Do you still get the screwy question marks but with a good permission part? What is the output of "locale" and what is the contents of /etc/sysconfig/console? Does he perhaps have a very weird console font loaded? (I'm assuming this was on the text mode console, though you didn't mention it)
On Wednesday 09 March 2005 12:40, Anders Johansson wrote:
On Wednesday 09 March 2005 14:14, Chadley Wilson wrote:
It should look like this:
# ls -la / |grep etc drwxr-xr-x 71 root root 6936 2005-03-09 08:32 etc
I would love to know how to do and undo this sort of thing to files and folders.
I wonder what has been done.
What happens if you do
chmod 755 /etc
Do you still get the screwy question marks but with a good permission part?
What is the output of "locale" and what is the contents of /etc/sysconfig/console? Does he perhaps have a very weird console font loaded? (I'm assuming this was on the text mode console, though you didn't mention it)
Almost forgot, also try running fsck on the file system. It could be as simple as a corrupted partition.
On Wednesday 09 March 2005 13:14, Chadley Wilson wrote:
On Wednesday 09 March 2005 15:59, Damon Register wrote:
Allen Carpenter wrote:
On Tuesday 08 March 2005 12:32 pm, Chadley Wilson wrote:
he has managed this: ?--------- ? ? ? ? ? etc
Can't be sure of either answer but I think the first thing I would do is the
I guess you are way beyond me. I didn't even understand the question. What did that mean?
Damon Register
Well You see I had tomake the point of interest first, (Cough Cough)
It should look like this:
# ls -la / |grep etc drwxr-xr-x 71 root root 6936 2005-03-09 08:32 etc
I would love to know how to do and undo this sort of thing to files and folders.
Chad, you mean beyond chmod? Or were you joking about the customer? When facing a complex permission ***k up I have found the find command combined with chmod can come in handy. So, e.g. some directories and files below /home/me have got muddled permissions I don't like fergus@machine:~/bibble> ls -l total 0 drwxr--r-x 2 fergus users 48 2005-03-09 12:05 gribble drwx------ 2 fergus users 48 2005-03-09 12:05 wibble fergus@machine:~/bibble> cd gribble/ fergus@machine:~/bibble/gribble> ls -l total 0 -r-----r-- 1 fergus users 0 2005-03-09 12:07 bomble -r-----r-- 1 fergus users 0 2005-03-09 12:07 famble -r-----r-- 1 fergus users 0 2005-03-09 12:07 gromble I decide I want directories to have perms 750 and files 640: fergus@machine:~/bibble> find . -type d -exec chmod 750 {} \; fergus@machine:~/bibble> ls -l total 0 drwxr-x--- 2 fergus users 120 2005-03-09 12:07 gribble drwxr-x--- 2 fergus users 48 2005-03-09 12:05 wibble fergus@machine:~/bibble> find . -type f -exec chmod 640 {} \; fergus@machine:~/bibble> ls -l gribble/ total 0 -rw-r----- 1 fergus users 0 2005-03-09 12:07 bomble -rw-r----- 1 fergus users 0 2005-03-09 12:07 famble -rw-r----- 1 fergus users 0 2005-03-09 12:07 gromble You can use the -depth switch to find to limit the number of branches of the file system you want affected. HTH, though I bet you were just joking ... Fergus -- Fergus Wilde Chetham's Library Long Millgate Manchester M3 1SB Tel: +44 161 834 7961 Fax: +44 161 839 5797 http://www.chethams.org.uk
Chadley Wilson wrote:
Well You see I had tomake the point of interest first, (Cough Cough) It worked. Now you got me curious.
It should look like this:
# ls -la / |grep etc drwxr-xr-x 71 root root 6936 2005-03-09 08:32 etc OK, now it makes a little more sense but I guess I am stil missing something. What is wrong with that? What do you want to change? I just tried that on my 9.1 system and got the same thing except the date is a different format.
Damon Register
On Wednesday 09 March 2005 08:14, Chadley Wilson wrote:
On Wednesday 09 March 2005 15:59, Damon Register wrote:
Allen Carpenter wrote:
On Tuesday 08 March 2005 12:32 pm, Chadley Wilson wrote:
he has managed this: ?--------- ? ? ? ? ? etc
It should look like this:
# ls -la / |grep etc drwxr-xr-x 71 root root 6936 2005-03-09 08:32 etc
I would love to know how to do and undo this sort of thing to files and folders.
chmod chown chgrp touch
participants (6)
-
Allen Carpenter
-
Anders Johansson
-
Chadley Wilson
-
Damon Register
-
Fergus Wilde
-
Mike