Hot Downloads

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Quick mkdir question

Quick mkdir question 13 years 4 months ago #7746

  • jacko0
  • jacko0's Avatar Topic Author
  • Offline
  • Frequent Member
  • Frequent Member
  • Posts: 45
  • Thank you received: 0
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? :?

Re: Quick mkdir question 13 years 4 months ago #7753

  • DaLight
  • DaLight's Avatar
  • Offline
  • Honored Member
  • Honored Member
  • Posts: 1302
  • Karma: 1
  • Thank you received: 0
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.
  • Page:
  • 1
Time to create page: 0.125 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup