LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05: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, 05: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 05:47 AM.
 
Old 05-28-2009, 06: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, 08:09 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

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

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

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

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

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
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



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 12:13 AM
Windows file permissions with a Linux file server joseph_k Linux - Server 3 05-09-2008 12:54 PM
Help on Linux File Permissions kool_kid Linux - Server 6 03-11-2008 08:04 AM
Linux File Permissions - Need some help. richcom23 Linux - Networking 6 02-24-2004 01:51 PM
Linux file permissions jamrock Linux - Networking 3 05-19-2003 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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