The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to change permissions in a certain directory? praveen_indramo UNIX for Dummies Questions & Answers 1 03-25-2008 12:07 PM
permissions of a directory smehra UNIX for Dummies Questions & Answers 3 06-04-2006 11:32 AM
determine owner directory permissions from within the directory Sniper Pixie Shell Programming and Scripting 4 03-07-2006 05:06 PM
default directory permissions Thumpasorus UNIX for Dummies Questions & Answers 3 09-13-2002 09:08 AM
directory permissions and CHMOD ncarmstrong UNIX for Dummies Questions & Answers 3 08-14-2002 02:00 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-18-2007
prvnrk prvnrk is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 138
Directory Default Permissions

Hi,

I have a directory with files and sub-directories. Users write files to it by using copy/create/tar/ftp etc.

I want this directory to have default permissions of 775 (for its files and sub-dir as well). I tried the below 2 ways but they are not upto my exact requirement so i need a better way of doing it.

1. system-wide umask: it is working only when a file is created (not copied/ftpd etc.) in that directory.

2. CRON job for setting permissions: As there're millions of files, resetting permissions periodically (using cron) found to be impacting on server performance. I tried applying chmod only on the recent files but still it's taking long enough to keep server loaded.

Any solution would highly be appreciated.


TIA
Prvn
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0