The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
FTP File Permission raybakh AIX 1 07-04-2006 05:11 AM
File Permission KhawHL UNIX for Advanced & Expert Users 2 05-24-2006 02:05 AM
The file permission ust Shell Programming and Scripting 1 05-12-2005 06:01 AM
Log file - permission ajkiruba UNIX for Advanced & Expert Users 6 04-24-2002 09:42 AM
File Permission sanjay92 UNIX for Advanced & Expert Users 6 04-02-2002 04:19 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-05-2005
ust ust is offline
Registered User
 

Join Date: Feb 2005
Posts: 93
Stumble this Post!
The file permission

I have a file ( /tmp/file.txt ) , the file owner is user1:edp , the permission is 644 , I want everyone can overwrite the file but don't change the file owner and permssion , could suggest what can I do ? thx
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-05-2005
Registered User
 

Join Date: Mar 2005
Posts: 47
Stumble this Post!
You can create a link to your file and ask every one to write in that. The new file can be placed anywhere on the common directory so that people can write.

ln oldfile newfile.

whatever is written in the newfile will be written to oldfile.

hope this helps.
Reply With Quote
  #3 (permalink)  
Old 05-05-2005
Just Ice's Avatar
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 629
Stumble this Post!
just do ...

chmod 666 /tmp/file.txt
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0