Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Strange very Strange,I use Mepis and I downloaded some icons to my home,ran;
su
<password>
tar xjf icons.tar.bz2
nothing happened so I typed ls,and it unziped to my home folder,when I tried to download something to my home access was denied that I could not right to that,wow so I loged out and tried to log back in and could not,loged back out log in as root changed the permissions on my home and now I can log in,what else do I need to do to fix up this mess I got myself in,thanks david
Not quite sure how untaring something
as root would change all permissions/ownerships,
but try ...
su -
find /home/<userid> -exec chown <userid>:users {} \;
When you did su you logged in as root. So when you un tarred the files root wrote them, so root owns any files created ( no access as a normal user ). You do not need to be root to un tar files in your home directory, unless root downloaded them ( then just change the owner with chown ).
I tried that tinkster,no such file or directory,when I untared them I just messed up is all I know I don't have to be root,daydream or something,thanks david
The other files are -rw-r--r-- 1 david user
the directorys are drwxr-xr-x 2 david user
and the icons I would like to change are -rwxr -xr-- 1 1006 81 thanks again,david
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.