Re: chown all files on a data drive
- From: "Chris Howie" <cdhowie@xxxxxxxxx>
- Date: Sat, 5 Jan 2008 10:13:24 -0500
(Sorry if you get this twice Dave, I didn't reply to the list. Second time
I've done that today... sigh...)
On Jan 5, 2008 6:54 AM, dave N <drn_temp2@xxxxxxxxxx> wrote:
I used to run Fedora and now all the files on my data drives are uid 500
and gid 500.
As root I've set the permissions for the drive (loaded under /share/other)
to be owned by root but the group to be users. this didn't get recursively
filtered down.
Now under Debian the same user name and password I'd previously had are
uid 1000 and gid 1000. Though I can access the files on the drive I can't do
anything with them except as root.
How can I rectify this? chown -R 1000:1000?
This'll cause problems with the lost+found as well as any .Trash folders,
should I then change the uids and gids back?
I'm not sure exactly what you're trying to accomplish. If you want everyone
to have access to the drive you can do something like:
# chown -R root:root /share/other
# chmod -R o+rwX /share/other
If you only want your user account to have access then something like:
# chown -R youruser /share/other
# chown root:root /share/other
# chown root:root /share/other/lost+found
--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
- Follow-Ups:
- Re: chown all files on a data drive
- From: dave N
- Re: chown all files on a data drive
- References:
- chown all files on a data drive
- From: dave N
- chown all files on a data drive
- Prev by Date: Re: strange Shorewall entry
- Next by Date: Re: Terminal issues in fresh install
- Previous by thread: chown all files on a data drive
- Next by thread: Re: chown all files on a data drive
- Index(es):
Relevant Pages
|
|