Link to home
Start Free TrialLog in
Avatar of harryv
harryv

asked on

Change ownership

Hi,

How to change the group and ownership of
all files in subdirs?

Jeffeny
Avatar of hv
hv

I belive this will work.
chown -R newowner:newgroup *
Avatar of harryv

ASKER

I did

chown -R newowner:newgroup dir

the ownership and group changed but
the owner and group do not have write
permissions
ASKER CERTIFIED SOLUTION
Avatar of hv
hv

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
chmod -R og+w dir
Avatar of harryv

ASKER

I did

chown -R newowner:newgroup dir

the ownership and group changed but
the owner and group do not have write
permissions
Avatar of harryv

ASKER

Comment accepted as answer