Re: chown ??



On 29Jun2011 14:25, james tate <binarynut@xxxxxxxxxxx> wrote:
| On a backup drive /mnt/home/tom , I want to change all directories and
| files in tom to owner:tom .
|
| The drive is mounted but from /home the command chown -R tom tom is not
| changing the directories and files to owner, tom .
|
| Command chown -R tom:tom tom won't change the ownership in the
| directories and files in
| directory tom .

I notice that /mnt/home/tom isn't in /home. If /home/tom is a symlink
then you'll get what you describe.

cd /home
ls -ld tom

Is it a symlink?

If so, you need to go:

cd /home/tom
chown -R tom:tom .

or

cd /home
chown -R tom:tom tom/.

or some variantion of that form.

Note the "/." in the second example: that _enters_ the tom directory for
the chown.

Cheers,
--
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Goverment is not reason; it is not eloquence; it is force. Like fire, it is a
dangerous servant and a fearful master. - George Washington
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: HD trouble
    ... Tom wrote: ... > settings" folders, as they were all locked off from XP pro. ... Take Ownership of a File or Folder in Windows XP ... Windows Shell/User ...
    (microsoft.public.windowsxp.accessibility)
  • Re: Whether its 1 or 100 i would like to see a list of EVERYONES pinball machines. Starting with min
    ... machines. ... In the order of ownership: ... TOM ... Scared Stiff ...
    (rec.games.pinball)
  • Re: Project permissions perplexity
    ... jim@xxxxxxxxxxxxxxxxxx wrote: ... ownership on this volume" checked. ... but using some kind of source control repository would be a ... Tom "Tom" Harrington ...
    (comp.sys.mac.programmer.help)
  • Re: chown ??
    ... The drive is mounted but from /home the command chown -R tom tom is not ... mount user stuff to /home/you/mountpoint. ... I mount my Documents partition and my Backup partition to ...
    (Fedora)
  • Re: chown ??
    ... The drive is mounted but from /home the command chown -R tom tom is not ... nobody knows anything! ... To unsubscribe or change subscription options: ...
    (Fedora)