Help: can't change file ownership
by Oli_Gendebien from LinuxQuestions.org on (#5Q3R7)
This is driving me crazy and I can't understand what I am doing wrong...
I'm running this command:
oli_g@server3:/home/oli_g/train
14:51:11 # chown cert train.prg
chown: changing ownership of 'train.prg': Operation not permitted
Permissions on the file are fully open
14:51:05 # ll
total 8
-rwxrwxrwx 1 oli_g cert 4313 Sep 28 14:50 train.prg
And so are permissions on the parent folder
14:53:34 # ll -d train
drwxrwxrwx 2 oli_g cert 23 Sep 28 14:51 train
It's a RedHat box and I don't have root access.
14:56:58 # cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)
I'm running this command:
oli_g@server3:/home/oli_g/train
14:51:11 # chown cert train.prg
chown: changing ownership of 'train.prg': Operation not permitted
Permissions on the file are fully open
14:51:05 # ll
total 8
-rwxrwxrwx 1 oli_g cert 4313 Sep 28 14:50 train.prg
And so are permissions on the parent folder
14:53:34 # ll -d train
drwxrwxrwx 2 oli_g cert 23 Sep 28 14:51 train
It's a RedHat box and I don't have root access.
14:56:58 # cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)