1
vote
1answer
417 views

Unable to access a script from root directory in Linux

I have a script in one of I my root directory: /root/scripts/script1.sh I wan't to call that script as another user (james1). I did the following (as root user): root@pc83$ CD scripts root@pc83$ ...
0
votes
2answers
631 views

Used recursive chown on the root directory

Im gonna need some help restoring my ssh settings as i screwed everything up by calling this command: chown -R user / At the moment im not able to access the site through ssh/ftp since the ...
0
votes
3answers
9k views

Root directory permissions on Mac OS X 10.6?

I was wondering if it's normal that the root directory / should be owned by “root”. I get asked for my password every time I want to do something there (e.g. save a file, create a directory) and I ...
0
votes
6answers
5k views

root directory - www or public_html

Is the root directory where all files are kept (directly from accessing from FTP) always "www" or "public_html" depending on what OS? Or is it possible to rename this folder? And if so, what would be ...
3
votes
2answers
2k views

Specify root dir inside tarball

Is there a way to execute tar cjvf foo.tar.bz2 project-root Such that when the tarball is extracted, it doesn't extract to project-root, but instead extracts to something else? i.e. tar xjvf ...