Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to protect directory var/www in debian? Post 302739013 by vbe on Monday 3rd of December 2012 10:41:22 AM
Old 12-03-2012
Are you root on the server?
What are you trying to achieve?
UNIX permissions are all you have standard or are you using some special software?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

create a ~/www directory?

Hey, How do I create a ~/www directory in Linux. I want to make a web space for a few perl scripts I need to test. I have an account on a Linux server and I am telnetting to the account from a windows 2000 machine. How can I actually make a virtual directory? I know by creating a www... (2 Replies)
Discussion started by: pradnoir
2 Replies

2. UNIX for Advanced & Expert Users

resize /var/www (debian)

I have several live websites running in the /var/www/XXXX directory. Initially when I did the Debian install I limited the web directory to 6GB. I am now outgrowing that limit. Question is: Is there a simple way to add space to the web directory??? I'd hate to have to redo the whole... (3 Replies)
Discussion started by: seagonus
3 Replies

3. Web Development

var/www/html permissions

Hi, first post. I have no Linux experience. I have an e-friend that set me up a VPS and my website with Apache and FTP access so I could upload my files the way I do it regularly with my shared hosting. The OS in the VPS is Fedora by the way. Now the thing is: http ://www.mydomain.com presents... (0 Replies)
Discussion started by: JPA
0 Replies

4. UNIX for Dummies Questions & Answers

Permissions of the folder var/www

what should be the permissions of the folder var/www in my ubuntu ? I need it to be safe and at the same time I need ftp users to be able to edit it. I was wondering if I should create a group with all permissions and add ftp users to this group in unix. what's the standard way to do it ?... (4 Replies)
Discussion started by: aneuryzma
4 Replies

5. Ubuntu

problem with /var/mail directory

Hi, There is no "administrator" file in "/var/mail" directory........ can any one tell me what could be the reason for that?...and also how to resolve that??? Thanks, ~Kavi (4 Replies)
Discussion started by: kavi.mogu
4 Replies

6. SuSE

Suse 8 /var Directory

Hi there, I'm working on a Suse 8 based system and picked up that the crontab was missing. after some investigation i realized that the hole /var directory is missing. :mad: I would like to now if its common for this directory to go missing? Can I copy another Suse 8 /var directory to this... (10 Replies)
Discussion started by: malanve
10 Replies

7. Debian

Help request. FTP user to var/www/html

Hi all. I appologise this is my first post, I will gladly have a further look around to see if this has been posted elsewhere, but so far it has not, or it doesnt quite explain in full what I need. If anyone here can help me out, I would really appreciate this. I want to make sure I do this... (1 Reply)
Discussion started by: Pinkfloyd
1 Replies

8. HP-UX

Unidentified File on /var Directory

Hi All, I'm having problem with /var directory which is keep increasing. Here's the output of bdf and du command # uname -a HP-UX rppmis1 B.11.11 U 9000/800 1153414645 unlimited-user license # bdf /var Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol8 ... (8 Replies)
Discussion started by: stu33
8 Replies

9. Web Development

$_SERVER['DOCUMENT_ROOT'] directs to /var/www not ~/public_html

Hi all, Exactly like my title says. I am learning PHP and MySQL and I used to use /var/www/ to host (contain or store) my files (.htm/.php) for testing. I could configure, finally, apache2 to use ~/public_html instead. Now I when I tried to use $_SERVER it still directs (I used echo to show... (7 Replies)
Discussion started by: faizlo
7 Replies
mkfifo(1)						      General Commands Manual							 mkfifo(1)

NAME
mkfifo - Makes FIFO special files SYNOPSIS
mkfifo [-m mode] file... The mkfifo utility creates FIFO special files in the order specified. STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: mkfifo: XCU5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. OPTIONS
Sets the file permission bits of the new file to the specified mode value, after creating the FIFO special file. The mode argument is a symbolic mode string (see chmod), in which the operator characters + (plus sign) and - (minus) are interpreted relative to the default file mode for that file type. The + character adds permissions to the default mode, and - deletes permissions from the default mode. [Tru64 UNIX] The default mode is a=rw (permissions of rw-rw-rw) as modified by the current file mode creation mask (umask). OPERANDS
The path name of a FIFO special file to be created. DESCRIPTION
For each file argument, mkfifo performs actions equivalent to the mkfifo() call with the following arguments: The file argument is used as the pathname argument. If the -m option is not used, the value of the bitwise inclusive OR of S_IRUSR, S_IWUSR, S_IRGRP, S_IWGRP, S_IROTH, and S_IWOTH is used as the mode argument. EXIT STATUS
The mkfifo utility exits with one of the following values: Indicates that all the specified FIFO special files were created successfully. Indicates that an error occurred. EXAMPLES
To create a FIFO special file with permissions prw-r--r--, enter: mkfifo -m 644 /tmp/myfifo The command creates the /tmp/myfifo file with read/write permissions for the owner and read permission for the group and for others. To create a FIFO special file using the - (minus) operand to set permissions of prw-r-----, enter: mkfifo -m g-w,o-rw /tmp/fifo2 The command creates the /tmp/fifo2 file, removing write permission for the group and all permissions for others. ENVIRONMENT VARIABLES
The following environment variables affect the execution of mkfifo: Provides a default value for the internationalization variables that are unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationalization variables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value, overrides the values of all the other internationalization variables. Determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multibyte characters in arguments). Determines the locale for the format and contents of diagnostic messages written to standard error. Determines the location of message catalogues for the processing of LC_MESSAGES. SEE ALSO
Commands: mkdir(1), mknod(8) Functions: chmod(2), mkdir(2), mkfifo(3), mknod(2), umask(2) Standards: standards(5) mkfifo(1)
All times are GMT -4. The time now is 12:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy