[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Others  |  Miscellaneous  |  Topic: file permission
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: file permission  (Read 642 times)
0 Members and 1 Guest are viewing this topic.
deven_01
Linux Learner
***
Offline Offline

Posts: 143


View Profile
« on: April 25, 2006, 01:36:55 AM »

Hello  friends
 I having confussion regarding to User Group and other
 r=4, w=2, x=1
 so total is 7
 when i had given chmod 333 /tmp/list.txt
 A list.txt is a file under my /tmp directory
 i got
 --wx-wx-wx like this
 When we say a file having write permission for group or user or other then it must have a read permission for all b'coz when you open file for write it readable
 So is it true or false if somebudy know abt it kindly reply back
 Regards
 Linux User
Logged
sravanth.svk
Linux Noob !
*
Offline Offline

Posts: 13


View Profile
hi
« Reply #1 on: April 25, 2006, 05:23:36 AM »

to my knoledge
if u give the permission for read in the sence it is read only
and if u give write permission means it is write only  i..e,
u can only append
if there is any thing wrong plz inform
thank u all in advance
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #2 on: April 27, 2006, 12:22:03 PM »

Hi all

Just keep in mind that u must take care of permissions of its parent direcory also

just create a file list.txt(from any user not root)  and write any thing to it like  write "Hello" in  that file

after that give 333 permission to ur file

then when u try to open this file..it will not show u the existing contents...as it is read only..., ya u can  write to it easily..,

Just try above things from any other user(NOT ROOT)

But as root is super user ,this is not valid for root user

And about directory inheritence permissions in case of file is quite confusing and lengthy topic,discuss it later


Cheers

Gaurav
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Linux File permission Linux Servers Support anil_garg5 1 669 Last post March 18, 2005, 06:13:43 AM
by gauravbajaj
how to convert wmv file to dat file Linux Video Support christopher_1 1 1441 Last post May 27, 2005, 07:38:20 AM
by taraj
Permission Denied Error Linux Proxy Server Support keever 8 780 Last post December 04, 2005, 04:06:44 AM
by Ricky
SAM file in to floppy as a text file without using live cd or any softwere Miscellaneous naveenth 2 477 Last post November 28, 2007, 12:26:45 AM
by naveenth
how to give permission a file to execute Linux Application taimur 2 511 Last post February 01, 2008, 10:35:36 PM
by romano
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 09:33:20 PM

Login with username, password and session length
Navigation
Recent Discussions
[November 29, 2008, 02:23:49 PM]

[November 29, 2008, 02:14:14 PM]

[November 29, 2008, 04:00:36 AM]

[November 28, 2008, 07:05:28 AM]

[November 28, 2008, 07:04:39 AM]

[November 28, 2008, 06:58:16 AM]

[November 28, 2008, 06:47:09 AM]

[November 26, 2008, 11:53:32 AM]

[November 26, 2008, 04:00:22 AM]

[November 25, 2008, 06:44:47 PM]
Members
Total Members: 6252
Latest: rash31
Stats
Total Posts: 8285
Total Topics: 2257
Online Today: 34
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 12
Total: 12
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc