LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2003, 10:10 PM   #1
klmn1
Member
 
Registered: Nov 2002
Location: Malaysia
Posts: 36

Rep: Reputation: 15
Saving files to other folder


I am an administrator for the RH8.0 server and sometimes I does require to generates reports for other user/department.

My problem, whenever I try to save the generated reports to any folder example, FINANCE and the report name, X.

The FINANCE user will open the X report as READ-ONLY. I had tried using the following command;

chmod -R 777 FINANCE/

and it works but somehow everytime I generates the report, I got to perform this task.

Is there any better way to overcome this small issue.

thanx
 
Old 07-20-2003, 11:58 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
umask is what your looking for.

man umask for more details!
 
Old 08-11-2003, 12:28 PM   #3
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
The reason you need to recursively perform the -R is that the owner, who writes the file, saves, by default with 700 (normal users) or 755 (root). That means that only the owner can write to the file. After you generate a new report AFTER executing the -R chmod, the new file is again, 700 or 755. You can simply chmod 775 /FINANCE/<reportname>.

RO
 
  


Reply



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
Saving files rj686 Linux - Software 4 10-07-2004 10:09 PM
Evolution's default attach saving folder??? bruno buys Linux - Software 0 09-01-2004 09:30 AM
IglooFTP-PRO refuses to upload files in folder when I upload folder eBopBob Linux - Software 0 08-27-2004 05:52 AM
saving a compiled folder for future installation as zip? webazoid Linux - Newbie 2 07-06-2004 07:01 PM
Problems saving to proc folder Dawyea Linux - Newbie 2 05-19-2004 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:04 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