GNU bug report logs - #9788
chown gets permission denied

Previous Next

Package: coreutils;

Reported by: Richard Woolley <rwoolley <at> marvell.com>

Date: Tue, 18 Oct 2011 23:23:01 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Richard Woolley <rwoolley <at> marvell.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Cc: Richard Woolley <rwoolley <at> marvell.com>
Subject: chown gets permission denied
Date: Tue, 18 Oct 2011 16:07:47 -0700
[Message part 1 (text/plain, inline)]
When trying to change ownership of the files in a directory, I mistakenly had the settings wrong in the command, so I got the following
ls -l
total 16
drw-rw-r--  4  user proj1 4096 Sep 28 14:23 doc/
drw-rw-r-- 24 user proj1 4096 Sep 28 14:27 modules/
drw-rw-r--  3 user proj1 4096 Sep 28 14:23 project/
ls -l project
total 0
?--------- ? ? ? ?            ? compile.conf
?--------- ? ? ? ?            ? myproject.conf
?--------- ? ? ? ?            ? novas_fli.so

Same for the other directories' contents.
When I try to chown -R or chgrp -R or rm -rf for project/  I get permission denied.  How can I use chown to set something valid (e.g., user proj1) so I can get rid of these directories/files??

Thanks.
Richard


[Message part 2 (text/html, inline)]

This bug report was last modified 13 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.