Problems changing permissions
Timothy A. Holmes
tholmes at mcaschool.net
Thu Oct 13 14:26:27 UTC 2005
On Thu, 2005-10-13 at 09:59 -0400, Timothy A. Holmes wrote:
> Hi Folks:
>
> I am trying to change the ownership on some files in a Qmail
> installation, on a FC3 server.
>
> I am logged in as root, and when I issue the chown root:root -R bin
> command, I get an error that says that changing ownership is not
> permitted
What is the filesystem? Some legacy filesystems do not support changing
ownership. If it is ext2 or ext3, this won't be the issue.
Also, I think you need the "-R" before the "root:root".
>
>
> As far as I know (how do I check for sure?) Selinux is turned off
getenforce, which returns enforcing, permissive or disabled. Off =
disabled.
>
> Heres the output of the directory listing
>
> [root at srvweb-02 vpopmail]# cd bin
> [root at srvweb-02 bin]# ls -al
> total 1332
> drwxrwxrwx 2 4294967294 4294967294 4096 Oct 11 08:48 .
> drwx------ 8 4294967294 4294967294 4096 Oct 11 08:48 ..
> -rwxrwxrwx 1 4294967294 4294967294 49548 Oct 11 08:48 clearopensmtp
> -rwxrwxrwx 1 4294967294 4294967294 53692 Oct 11 08:48 dotqmail2valias
> -rwxrwxrwx 1 4294967294 4294967294 52236 Oct 11 08:48 vaddaliasdomain
> -rwxrwxrwx 1 4294967294 4294967294 52716 Oct 11 08:48 vadddomain
<snip>
Those UID and GIDs look way too big. How was Qmail installed? If you
create a new file in the same directory, does it have root as the owner,
and can you change the owner/group?
Cheers, Ben
[Timothy A. Holmes]
Hi Ben -- the file system is whatever default installs with Fedora Core
3 -- as I recall its EXT3, but I could be wrong on that
SELINUX is disabled
Trying to create a new file
Touch test
Gives me a file with the same owner/group and it cannot be changed
either
Qmail was installed using the procedure outlined at www.qmailrocks.org.
This question originated after I tried to run a script to fix the
permissions on the installation -- not sure how it originated, but its
apparently a known bug, the script failed with the same errors, so I
opened up the script and tired the processes manually -- and im hitting
the same errors
TIM
--
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
More information about the fedora-list
mailing list