Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Questions about deleting user folder and another about trash bin
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Kokopelli" data-source="post: 192074"><p>OK that is wrong. .Trash should not be owned by root and it is the root of your problem (pardon the pun). While you are the admin of the machine what you are seeing there is the admin group, which no normal user is part of.</p><p></p><p>do a "ls -l ~" the majority should have two columns with that repeat eah other, that should be your user name, in your case "marcamos".</p><p></p><p>In a normal folder you could get info for the folder by right clicking, then change the owner in the ownership and permissions at the bottom. We will do it via command line.</p><p></p><p>first lets make sure we are in home </p><p>"cd ~"</p><p></p><p>now we will chang the owner of trash and everything in it to you.</p><p>"sudo chown -R marcamos:marcamos .Trash"</p><p>this assumes your user name is marcamos, which you would have confirmed earlier. Again we are using sudo, so show the command the respect it deserves and make sure you type it in correctly.</p><p></p><p>That should fix it.</p><p></p><p>EDIT: Explanation of the ls output you had before:</p><p>drwx------ 3 root admin 102 Mar 4 09:42 .Trash</p><p></p><p>"drwx" it is a directory and the owner of the directory has read, write, and execute priviledges. (Execute for directories allows you to get a file list of contents)</p><p>"---" the group who owns the direcotry has no access.</p><p>"---" everyone else also has no access. </p><p>Thus only the owner of the direcotry has any access</p><p></p><p>"3" there are three files the directory</p><p>"root admin" the owner is root, the owning group is admin. (in this case the group really does not matter since the group has no access)</p><p></p><p>The rest is date and the directory name.</p></blockquote><p></p>
[QUOTE="Kokopelli, post: 192074"] OK that is wrong. .Trash should not be owned by root and it is the root of your problem (pardon the pun). While you are the admin of the machine what you are seeing there is the admin group, which no normal user is part of. do a "ls -l ~" the majority should have two columns with that repeat eah other, that should be your user name, in your case "marcamos". In a normal folder you could get info for the folder by right clicking, then change the owner in the ownership and permissions at the bottom. We will do it via command line. first lets make sure we are in home "cd ~" now we will chang the owner of trash and everything in it to you. "sudo chown -R marcamos:marcamos .Trash" this assumes your user name is marcamos, which you would have confirmed earlier. Again we are using sudo, so show the command the respect it deserves and make sure you type it in correctly. That should fix it. EDIT: Explanation of the ls output you had before: drwx------ 3 root admin 102 Mar 4 09:42 .Trash "drwx" it is a directory and the owner of the directory has read, write, and execute priviledges. (Execute for directories allows you to get a file list of contents) "---" the group who owns the direcotry has no access. "---" everyone else also has no access. Thus only the owner of the direcotry has any access "3" there are three files the directory "root admin" the owner is root, the owning group is admin. (in this case the group really does not matter since the group has no access) The rest is date and the directory name. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Questions about deleting user folder and another about trash bin
Top