var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
chown not changing owner:group!
I have just restored an account to my directadmin box and it appears to have restored with the wrong owner / group.
Easy I thought, a quick 'chmod secure.secure -R *' should crack that but how wrong was I.
After running that I get the error: chown: invalid option -- o
Now - both the user and the group exist, so why won't the files change owner and group?!
Any help appreciated
chmod is used to change chmod, not owner/group.
to change file owner and/or group use:
chown user:group file.bin
my mistake in the title - its chown I am using!
See what its doing to me - driving me batty!
chown -R user.group /path/to/folder/
Ok that worked but whats the difference between that and what I did?
Almost sure I have done it my way before but could be wrong - its been one of those days!
the options should go right before the owner:group.
man comes handy some times.
Are you using : (colon) or . (dot) between owner and group?
█ TUXG Hosting - shared hosting simplified
█ o 99.9% Uptime o Anytime Phone Support o 30-day Moneyback