LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-22-2010, 11:07 PM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
file permission


I have a directory , many files are copying to it from time to time , but the file mode (rwx) is different , can advise if I want all files will became to a specific mode ( eg. 644 ) once it is created , what can i do ? thx

except to use cron job to change it , is there other method ?
 
Old 04-22-2010, 11:39 PM   #2
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
Depends how the volume that holds that directory is mounted and why the permissions are ending up different. umask controls the default state, but other factors will change that. You need to get to the root of the problem before you can start solving it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any log file for checking file permission change history in RHEL 5.1? bilalcochin Linux - Newbie 3 04-02-2010 10:57 AM
File Permission - Read an execute only file e_x_p Linux - Security 1 12-16-2009 08:08 AM
regarding file permission for db2 backup image file lx4all Linux - General 1 12-13-2007 04:37 PM
Changing file permission, How to edit a file? rainchild Linux - Newbie 8 01-14-2007 11:18 PM
change file permission of a mouse device file permanently alexandre_fs Linux - General 5 01-09-2007 07:30 AM


All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration