Mandriva Expert
The place where your Mandriva Linux system finds support

change owner

+/- details
User 050608-71D9E0-C69H_6
Incident Number 93500
Date 2005/09/05 08:56
Status Incident closed
Paid No

Product Mandrakelinux 10.1 (Official)
Architecture x86_32
Scope Administration

Products owned
Community Support question - to convert into a paid question, click here

Lines in bold below have not yet been seen by the customer - those in blue are from the customer

Username : Date : Action : Comments [ close all ]    
 
050608-71D9E0-C69H_6 : 05/09/05 08:56 AM : Incident created
-   i've got users files owned by root. I want them to be owned by a user.
When i execute the command "chown" or "chgrp" with root's privileges it says:

[root@localhost Mes images]# chown kerb fondateur.pdf
chown: changement de propriétaire pour `fondateur.pdf': Operation not permitted

Why?

 
Linegod_7611 : 06/09/05 03:09 AM : Reply received
-   Check the read/write permissions on the file first:

# ls -la {filename}

You may have to set it so root can read/write to the file:

# chmod rw {filename}
or
# chmod 660 {filename}
Then
# chown {user} {filename}
or
# chown {user}.{group} {filename}
---------------
Note: If this answer resolves your problem, please remember to close this incident.

 
liberforce_7366 : 06/09/05 12:40 PM : More info requested
-   Can you send the result of "ll fondateur.pdf" ? It's strange, your command
should work... Note that you can use the syntax "chown kerb:kerb
fondateur.pdf" to change both the user and group at the same time.

 
liberforce_7366 : 06/09/05 12:43 PM : Reply received
-   rights have no impact on ownership...

 
050608-71D9E0-C69H_6 : 10/09/05 04:11 PM : More info provided
-   [root@localhost Mes images]# ll fondateur.pdf
-rwxr-xr-x 1 root nogroup 592128 oct 2 2003 fondateur.pdf*

is that because there is nogroup?

 
J_Tucker_3475 : 19/09/05 05:35 PM : More info requested
-   have you loaded mc, a gnome product, it allow a better interface to work from

 
050608-71D9E0-C69H_6 : 23/09/05 08:11 AM : More info provided
-   I have the clue : the files are on a W98SE partition. It appears that MDK can't change ownership in a FAT32 partition.

Anyway thanks to all for your good will.

 
 
050608-71D9E0-C69H_6 : 23/09/05 08:12 AM : Incident closed
-  



This Incident is closed. It can not be edited anymore. You can create a new one by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers