LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2009, 06:34 AM   #1
Binoy B
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Linux file permissions


If you change a file's permissions to chmod 755 in Linux, what kind of permissions are assigned to the group that owns the file?
 
Old 05-28-2009, 06:46 AM   #2
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
7= r+w+e
6= r+w
5= r+e

and so on.

X= any combination of 4,2,1 means rwx
--------X---------------X---------X----------
User Permissions-----Group------Others




d-rwx-rwx-rwx

d=:type
First:user permissions
Second:Group permissions
Third ther permissions

755 means read, write and execute for user.
..........read and execute for group and others



Cheers!!

Last edited by baig; 05-28-2009 at 06:47 AM.
 
Old 05-28-2009, 07:56 AM   #3
lakshmi4linux
LQ Newbie
 
Registered: Mar 2009
Posts: 26

Rep: Reputation: 15
Group is having read and executable permission for the particular file or directory.
 
Old 05-28-2009, 09:09 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Welcome to LQ.

' iGoogle ' has an "add on" named 'Cmod calculator'

iGoogle > > "Add gadget" ........

Try it ... is very useful.
.....
 
Old 05-28-2009, 10:04 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
This is obviously homework, you should read the chmod man page.
 
Old 05-28-2009, 10:18 AM   #6
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,615

Rep: Reputation: 441Reputation: 441Reputation: 441Reputation: 441Reputation: 441
Binoy:

Q--"If you change a file's permissions to chmod 755 in Linux, what kind of permissions are assigned to the group that owns the file?"

Answer:

Read and Execute.

Hope this helps.

goodluck.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to hide a file using file permissions in linux without using dot davender84 Linux - General 4 03-26-2009 01:13 AM
Windows file permissions with a Linux file server joseph_k Linux - Server 3 05-09-2008 01:54 PM
Help on Linux File Permissions kool_kid Linux - Server 6 03-11-2008 09:04 AM
Linux File Permissions - Need some help. richcom23 Linux - Networking 6 02-24-2004 02:51 PM
Linux file permissions jamrock Linux - Networking 3 05-19-2003 01:24 PM


All times are GMT -5. The time now is 06:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration