Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-28-2003, 11:15 PM   #1
Registered: Nov 2002
Location: Malaysia
Posts: 36

Rep: Reputation: 15
Unhappy File/directory access rights

It seems I am having a little difficulties with the file/directory access rights.

My methods;

- transfer folder A to Linux local directory
- using chmod -R 777 local directory/ to change access rights

I would want to know, what if a user saved a file into the local directory, it seems the file will not be able to write/execute by other user within the same group.

My question,

1) How can I set the rights from the start so that whenever a user saved a file to the local directory, I need not to use the chmod command to change the rights?

Old 05-29-2003, 12:21 AM   #2
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
I'm not sure of what you ask/want to do.

chmod +777 give EVERYBODY access to the files/directory. If another user in the world can't write/execute the file, you have a serious trouble.

Last edited by Half_Elf; 05-29-2003 at 12:22 AM.
Old 05-29-2003, 12:21 AM   #3
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
hmmm...Let me get this straight.

Lets say the user Greg saves a file to /usr/local. You want EVERY OTHER USER on the machine to be able to access the file that Greg owns?

If so, that defeats the whole purpose of owning a file.
Old 05-29-2003, 01:14 AM   #4
Registered: Nov 2002
Location: Malaysia
Posts: 36

Original Poster
Rep: Reputation: 15
Sorry guys!

What I meant here on the file was, the file should be updated by two person and for example, if A create and save the file, B will open the file with a (READ-ONLY).

Whenever B try to save, it requires to be renamed before saving.

This is the scenario I am facing now.



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
File Access Rights/Windows pdr Linux - Newbie 2 06-16-2005 01:00 AM
File access rights get resetted over night JoSch Debian 1 06-08-2004 07:39 PM
Strange file access restrictions in kernel-headers directory zero79 Debian 3 04-30-2004 10:17 PM
Permissions, File, Directory access tHcnunz Linux - Newbie 3 03-26-2004 09:25 AM
file/directory access permission question correro Linux - General 4 05-22-2003 07:48 PM

All times are GMT -5. The time now is 03:33 AM.

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