6-7 Flashcards
What is the maximum filename length in Linux?
255
Three names for the file permission categories:
user, group, other
using the setfacl command, what option will delete an ACL (the whole thing)?
-b (bomb, -d is for default, not delete)
When using the setfacl command, what option will add an ACL?
-m (modify)
What does the +/- mean on the first permission of a file?
ACL is or is not set.
T/F: When setting permissions symbolically, commas and space should not be placed between permissions for one group.
True
Example: chmod g=rwx,o-r
What is wrong with the following link command?
ln -s /home/stu25/fstab.linkname /etc/fstab
the linkname and /etc/fstab should be reversed.
you put the real thing first, then the destination.
The Linux _____ sets a standard directory structure and promotes interoperability.
FHS
Using a(n) _____ will allow a finer grain control over a filesystem.
ACL
Given r–rw-r–, can the owner edit the file if he/she is a member of the group?
False/no. Owner/user perms override the others.
chmod uses CAPTIAL -R!
true
All commands support the use of ACLs.
False
Spaces are supported in Linux filenames, but not recommended.
True
Using the ln command, what option will create a HARD
link?
no option is required (-s is for creating a symbolic/soft link)
What Linux command will remove a filesystem link?
rm, NOT rmln
What is the name of the Kernel security module for access control security policies?
SELinux
Setting an ACL overwrites other permissions a user has over a file. This is their effective rights.
True.
What permission would allow a user to only GET INTO a folder, but not see or modify anything?
Execute
Which file/directory locating command is based on a database?
locate