[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] How to safely work on files/dirs with .
From: |
David Niklas |
Subject: |
[Help-bash] How to safely work on files/dirs with . |
Date: |
Sat, 12 Mar 2016 10:46:34 -0500 |
Hello,
The other day I tried to change the perms of the files in a temporary home
dir as root with
% chown -R test:test /home/test/.*
After noting that it was taking more then a few seconds I killed the
command and then used the path that I gave chown to ls and got the
following output:
% ls /home/test/.*
/home/test/.bash_history /home/test/.bash_logout /home/test/.bash_profile
/home/test/.bashrc
/home/test/.:
test
/home/test/..
test
Me
/home/test/.nano:
filepos_history
/home/test/.ssh:
%
This is not what I wanted to access. I only want to change the file owner
in my test user's home dir.
How do I do this safely?
Thanks, David
- [Help-bash] How to safely work on files/dirs with .,
David Niklas <=
- Re: [Help-bash] How to safely work on files/dirs with ., Bob Proulx, 2016/03/12
- Re: [Help-bash] How to safely work on files/dirs with ., Stephane Chazelas, 2016/03/14
- Re: [Help-bash] How to safely work on files/dirs with ., Greg Wooledge, 2016/03/14
- Re: [Help-bash] How to safely work on files/dirs with ., Stephane Chazelas, 2016/03/14
- Re: [Help-bash] How to safely work on files/dirs with ., Greg Wooledge, 2016/03/14
- Re: [Help-bash] How to safely work on files/dirs with ., Stephane Chazelas, 2016/03/14
- Re: [Help-bash] How to safely work on files/dirs with ., Bob Proulx, 2016/03/19
- Re: [Help-bash] How to safely work on files/dirs with ., Greg Wooledge, 2016/03/21
- Re: [Help-bash] How to safely work on files/dirs with ., Eric Blake, 2016/03/21