Skip to main content

Quick mkdir question

More
19 years 8 months ago #7746 by jacko0
Quick mkdir question was created by jacko0
I need to create a directory called mod and the permissions need to be set for a group and user called webadmin.

Normaly I am logged on as root create the directory and then have to use chgrp and chown to change it from root to webadmin.

BUT

Is there a quick way to make the directory as webadmin so i dont have to change it from root after?

I tried to use mkdir as webadmin and I get permission denied.
Just wondered if there was a quick way? :?
More
19 years 8 months ago #7753 by DaLight
Replied by DaLight on topic Re: Quick mkdir question
My understanding is that a user can only create a subdirectory if he has write permissions in the parent directory, so unless webadmin has write permissions in the parent directory, you will have to follow your current procedure.
Time to create page: 0.127 seconds