LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-05-2002, 08:29 AM   #1
juno
Member
 
Registered: Sep 2002
Location: fdas
Posts: 100

Rep: Reputation: 15
Change file mode


I want to create a directory to let some programs to put file on it, the programs will generate the files with the mode 644 into this directory , while other programs need to modify the file, but it can't cos the mode is 644 ( 4 is only for read ) , how to force the mode of the all files when writing to these directory are 666 ?

I just want to change the type of file , so i don't want to change the user profile. Thx.

If i change the umask in the profile, then the mode of all files (whateven directory) will be changed , I only want to change the mode in one directory , what can I do? Thx.
 
Old 12-05-2002, 08:35 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
man umask
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change from GUI mode to text mode alexr186 Linux - Software 4 01-08-2009 07:56 AM
Change the display mode in text mode Drunkalot Linux - General 7 08-12-2005 12:35 PM
how to open /proc file in RW mode in user mode? cranium2004 Programming 3 03-06-2005 04:03 AM
How can I change display mode from character mode to graph mode wuzhong Linux - Hardware 1 08-08-2004 10:36 AM
Change mode ust Linux - Software 1 03-13-2003 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:21 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
Open Source Consulting | Domain Registration