GNU bug report logs -
#18937
chmod ???? bug?
Previous Next
Reported by: Plato <platoxw <at> wishmail.net>
Date: Mon, 3 Nov 2014 18:33:02 UTC
Severity: normal
Tags: notabug
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 03 Nov 2014 14:13:08 -0800
with message-id <5457FDF4.40607 <at> cs.ucla.edu>
and subject line Re: bug#18937: chmod ???? bug?
has caused the debbugs.gnu.org bug report #18937,
regarding chmod ???? bug?
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
18937: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18937
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hello,
After using chmod
chmod -R 644 /media/plato/mountedpartition/ (I see I forgot the * at the end)
my
ls -l
listing has all entry's like these:
First a list like this of every file and folder
ls: cannot access /media/plato/mountedpartition/justafiile.txt: Permission denied
Then one time
total 0
Folowed by
-????????? ? ? ? ? ? justafile.txt
d????????? ? ? ? ? ? Files
One example of a file and one of a directory
If I do
ls Files
I get
ls: cannot access /media/plato/mountedpartition/Files: Permission denied
When I do
sudo ls Files
I get a listing of the contents of files as expected.
Is this a bug?
It was not my intention to get this. I do not know how to get it back to what it was.
I tried it on a single file with
chmod 644 justafile.txt
but that did not solve it. Any ideas?
Thanks for maintaining chmod
--
With kind regards,
Plato
[Message part 3 (message/rfc822, inline)]
On 11/03/2014 10:26 AM, Plato wrote:
> chmod -R 644/media/plato/mountedpartition/
The behavior you observe is what I'd expect once the permissions on
directories are messed up. To fix it, try "chmod -R
+X/media/plato/mountedpartition/" as root.
This bug report was last modified 10 years and 284 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.