answersLogoWhite

0


Best Answer

chown user:group && chmod 777

the bold nuumber is the one you want to concern yourself with

let me explain; The 3 numbers represent, from left to right, your permissions, your group's permissions, and everybody else. The number themselves indicate the restrictiveness of the permissions, from 7 (do what you want) to 0 (as MC hammer might put it, you can't touch this). The above example changes the permissions so everyone can do what they will to the file

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can change group ownership and group permissions with one command in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you obtain root permissions in Linux?

su (will change user to root)sudo command (will run command as root)


What Linux command sets a files permission?

In Linux the chmod command is used to set file permissions.


Linux command will allow you to change file permissions?

The chmod command. For it's usage, consult it's manual page with the... $ man chmod command....


What are the two commands for setting permissions on a file or directory?

There is generally only 1 standard command for permissions on a file or directory - chmod. You can affect permissions by other commands such as changing the ownership or group ownership of a file or directory. Other commands may be specific to different versions of Unix and Linux, so are not listed here.


How do you find user permissions in Linux?

Type the following command# ls -l


Why does delete command in ftp failed?

You might not have permission to delete files. On a Linux server, it could be either: 1. You are not listed as the "owner" of the FTP file -- then you'd need to "chown" or change ownership 2. That you don't have the permissions to delete -- then you'd need to "chmod" the file if possible


What are file permissions in Linux?

The typical way to view file permissions is to use the 'ls' command with the long listing options enabled, For example, to see the file permissions for everything in the current directory, type: ls -lsa


Do some versions of UNIX and Linux include the umask command which enables you to set permissions on multiple files at one time?

Yes.


What is the name of the utility that will allow you to change the default group associated with group permissions on a Linux file folder?

gerp


How do you create a file in Linux with write-only permissions?

Create a file and set it's permissions to 222


How do you change the executable bit in Linux for a .exe file?

chmod +x is the command to set the executable flag in Linux but, Linux does not use exe files.


What does the k command do in Linux?

k is not a standard command in Linux.