<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Chown on Michael’s Domain</title><link>https://jeltsch.org/en/tags/chown/</link><description>Recent content in Chown on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/chown/index.xml" rel="self" type="application/rss+xml"/><item><title>No chown or chmod on samba mounts</title><link>https://jeltsch.org/en/no_chown_or_chmod_on_samba_mounts/</link><pubDate>Thu, 24 May 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/no_chown_or_chmod_on_samba_mounts/</guid><description>&lt;p&gt;I figured out (hopefully correctly) that owner, group and accession rights to files and directories on an smbmount are not changeable, not even by root. Thus you have to specify everything at mount time, e.g.:&lt;code&gt;sudo mount -t smbfs -o username=jeltsch,credentials=/home/jeltsch/.smbpasswd5 -o uid=backuppc,gid=users,fmask=644,dmask=755 //patolmac217/jeltsch /mnt/jeltsch@patolmac217.hi.helsinki.fi&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Changing specific ownerships: chmod --from</title><link>https://jeltsch.org/en/changing_specific_ownerships_chmod_from/</link><pubDate>Wed, 23 May 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/changing_specific_ownerships_chmod_from/</guid><description>&lt;p&gt;I copied a bunch of preference files (those files and directories whose name starts with a dot) from my old RedHat home directory into my new Suse install. I had backed up the files being root and so all of them were owner:group root:root. In order to only change those files, that had root:root into jeltsch:users I executed from within my home directory:&lt;code&gt;sudo chown -R --from=root:root jeltsch:users .*&lt;/code&gt;If you wanted to change all files on the system that belong to one user you could use:&lt;code&gt;sudo chown -R --from=username newowner /&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Changing userid on Mac OSX</title><link>https://jeltsch.org/en/changing_userid_on_mac_osx/</link><pubDate>Tue, 06 Mar 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/changing_userid_on_mac_osx/</guid><description>&lt;ol&gt;
&lt;li&gt;Change the userid in NetInfoManager from another administrative account (ex. 502-&amp;gt;1000).2. Change the file permissions:&lt;code&gt;sudo find / -xdev -user 502 -print -exec chown 1000 {} \;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;</description></item></channel></rss>