Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Linux question on directories.. Post 302960772 by Aia on Thursday 19th of November 2015 12:37:18 PM
Old 11-19-2015
Quote:
Originally Posted by samnyc
Hi,

First server every thing is working but keeps crashing so to be on the safe side created second server and moved all the files. But I notice there is a " dot " at the end. See below. Not sure what that means. Also getting 403 on Apache. Please see below. Thanks you so much.

Code:
ls -l
total 24
drwxr-xr-x.  2 root      root   4096 Aug 13  2013 cgi-bin
drwxr-xr-x.  3 root      root   4096 Jun  6  2014 error
drwxrwxrwx.  9 apache    apache 4096 Jun 10  2014 html
drwxr-xr-x.  3 root      root   4096 Jun  6  2014 icons
drwxr-xr-x. 14 root      root   4096 Jun  6  2014 manual
drwxr-xr-x.  2 webalizer root   4096 Jun  6  2014 usage

[...]
Are you referring to the dot highlighted in red?
That indicates that the server uses SELinux and that the file has a SELinux security context.
Most likely you are being denied by SELinux. You may DEBUG it by temporarily disabling it, issuing the following command: setenforce "Permissive"
If after that things work, please, find out what context you need to fix and enable it again with setenforce "Enforcing"
This User Gave Thanks to Aia For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mv directories question

I'm really new to Unix and its commands. I tried to move a file from the home directory to another one but I didn't type the full name of the new directory. I think the computer created another directory in the home directory and put it in there. However, now I can't access it and it doesn't even... (3 Replies)
Discussion started by: scheng12
3 Replies

2. Programming

question about empty directories in unix system

how is it possible for a directory to be empty and still have a size greater than 0 in bytes... i made a shell script that shows info about all files/directories and this is what came up the last one is the size, here its showing 1024 in the for loop i did something like for h in * .*; do ... (4 Replies)
Discussion started by: omega666
4 Replies

3. Shell Programming and Scripting

question on blackslashes and slashes in directories

Since I'm usually on windows I've came across different shells like Cygwin, Hamilton, and MKS. I've been working in csh most of the time, so porting scripts from one shell to another can be fairly annoying and confusing. When specifying a directory I noticed that certain shells do not recognize... (1 Reply)
Discussion started by: vas28r13
1 Replies

4. UNIX for Advanced & Expert Users

Is it possible to password protect directories in linux?

Hi, I am using Red Hat OS 5.0, is there any way that i can password protect directories. I know i can change permission so that no other user can access the content, but sometimes in my office environment i need to share vnc terminal with other people from my login itself. So i want that if user... (1 Reply)
Discussion started by: sarbjit
1 Replies

5. Shell Programming and Scripting

Need help: Script to report timestamp of directories in a specific path from multiple Linux server

Need help Please help on how to write a script which can echo timestamp, size of subdirectories in a specific path from multiple Linux servers to a text file. I can ssh with a common user to all the servers from a build box. Basic idea what I had was: ssh <commonuser>@<each box> cd... (1 Reply)
Discussion started by: sudhichadaga
1 Replies

6. UNIX for Advanced & Expert Users

Linux fdisk question (Oracle Enterprise Linux)

OS: Oracle Enterprise Linux 6.2 Hypervisor: VMWare workstation 9 I created a VM and attached a 7gb virtual disk to it. Using fdisk , I partioned the disk like below. The filesystems mounted on this is working fine. But I am seeing the message Partition n does not end on cylinder boundary.... (2 Replies)
Discussion started by: kraljic
2 Replies

7. Programming

Accessing directories in Linux

I'm new to Linux and trying to port a c++ program from windows. what I'm trying to do is copy a file to a directory off the root of the drive First off the program is located and running from Drive:\Base\Web\Today\Program.exe And trying to copy to: Drive:\Base\cpics windows... (10 Replies)
Discussion started by: pinbot
10 Replies

8. Solaris

Giving read write permission to user for specific directories and sub directories.

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. This is for Solaris. Please help. (1 Reply)
Discussion started by: blinkingdan
1 Replies
set_color(1)							       fish							      set_color(1)

NAME
set_color - set_color - set the terminal color set_color - set the terminal color Synopsis set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR] Description Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple, cyan, white and normal. o -b, --background Set the background color o -c, --print-colors Prints a list of all valid color names o -h, --help Display help message and exit o -o, --bold Set bold or extra bright mode o -u, --underline Set underlined mode o -v, --version Display version and exit Calling set_color normal will set the terminal color to whatever is the default color of the terminal. Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey font color, while set_color --bold white will result in a white font color. Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator. set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of ncurses and recompile fish against it in order to fix this issue. Version 1.23.1 Sun Jan 8 2012 set_color(1)
All times are GMT -4. The time now is 02:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy