answersLogoWhite

0

If a file has permision of 777 in Linux than it means that it have full permision to do anythink with file like Read,write,execute to any user eg. root (admin),Group users and user(local user)

user can change file contents,delete file,move that file anywhere and more operations.

But it is not good policy as point of security because any user can do everything with file he can change file information,delete it,send to other user

so if we create any file than it's permision shoud be 744(644) so that group member and other user can read it only nothing to change it.

But if you want that group members can also have full permision to do than you need

774 permision actually files already have execute permision in any file so you can set 664 it is same as 774 permision.

Remember that in files 4 is permision to read, 2 for write and 1 for execute

Satyaveer

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

WHAT IS -rwx rwx rwx in Linux?

It's file permission. The first flag is not on, so that means it's a file. The first group is rwx, which equates to octal 7, means read, write, and execute (run) permissions are granted, and so is the rest. (in chmod, you would type this as chmod 777 <file>) This means that this file with permission 777 everybody that can access, overwrite, and run the file (as a program).


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


Are file permissions considered a bit mask?

a bit mask is the subtracted value that would allow you to obtain the actual file permission. For example, consider that a file permission of 777 gives everyone full permissions You want the default file permission for all files created to be 755 You would then set your umask value to 022 Think about it in binary. File permissions consist of three 3-bit numbers, whose values can range from 000 (decimal 0) to 111(decimal 7) 111 111 111 (full permissions, or, 777) -000 010 010 (subtract bit mask of 022) ------------------- 111 101 101 (actual file permissions 755) your default bit mask on linux is set in either /etc/bashrc or /etc/profile. If you want to set it for a single person, you could do it in your .bashrc or .profile in your home directory.


Can change group ownership and group permissions with one command in Linux?

chown user:group && chmod 777 the bold nuumber is the one you want to concern yourself withlet 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


Why does it say PHP Warning fopen(file.txt) failed to open stream Permission denied in GPleskVhostswallnutclan.comhttpdocstest.php on line 5 on plex when it doesn't give me the error on wamp server co?

Your PHP file does not have the required permissions to open that file with write capabilities. Try Granting higher permissions (777, etc) to the PHP file itself, and / or GPleskVhostswallnutclan.comhttpdocstest.php.


What does 777 mean?

777 means seven hundred and seventy seven


777 what does it mean?

777 is the God number. It means to be with Christ and to do the right thing (integrity).


What does 777 mean on a chain?

i have one ring and is mark inside 777 what hi means ,is platinum?


What does 777 mean on a gold chain?

i have one ring and is mark inside 777 what hi means ,is platinum?


How many 23 gallon containers can you fill with 777 gallons of wine?

777/23= 33.78 this means you would need 34 containers


What is 777 rounded to the nearest thousand?

1000


What is 13.9 percent of 777?

39% of 777 = 39% * 777 = 0.39 * 777 = 303.03