LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-12-2012, 02:23 AM   #1
tushar_pandey
Member
 
Registered: Jun 2012
Location: ghaziabad , delhi , india
Posts: 105

Rep: Reputation: Disabled
Chmod: changing user and group ownership?


we use change mode like this ,

chmod 777 file_name , chmod ugo + - filename

and , if i want to remove read permission from user and write permission from group . so for this we use
chmod 357 file_name

so how can i perform the and , if i want to remove read permission from user and write permission from group . so for this we use
chmod 357 file_name
task with the help of

chmod ugo +- file_name (type)
 
Old 08-12-2012, 02:28 AM   #2
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 105

Rep: Reputation: 34
Hi,

if i understand this right you can do :
Code:
chmod u-r,g-w $file
regards fl0
 
1 members found this post helpful.
  


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
User and Group file ownership... Weird bourne Linux - Security 2 10-29-2008 10:06 AM
Changing group ownership rayn0r Linux - Networking 1 11-28-2007 05:35 PM
Ownership, group and premission changing problem gubak Linux - Newbie 9 05-08-2007 02:29 AM
changing ownership and group of multiple files.. utanja Debian 3 02-21-2005 07:10 PM
changing users and group ownership dkc_ace Linux - General 4 02-03-2003 08:50 PM


All times are GMT -5. The time now is 09:39 AM.

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