Ubuntu Servers :: Create A New File/dir - Get Permission Denied Message

Apr 22, 2011

I am in the www-data group...

Code:
mike@webserver:/var/www$ groups mike
mike : www-data adm dialout cdrom plugdev lpadmin sambashare admin
when I run ls...

Code:
mike@webserver:/var/www$ ls -la
total 8
drwxrwxr-x 2 www-data www-data 4096 2011-04-22 09:30 .
drwxr-xr-x 14 root root 4096 2011-04-20 18:22 ..
-rw-r--r-- 1 root root 0 2011-04-22 09:24 index.html

I assumed that means that the users in the www-data group can read, write and execute within this folder?

But when I try to create a new file/dir I get permission denied message.

I'm having fun messing around with my new LAMP server, but this problem is annoying me now .

(Oh and the index.html file was created by root, it's a blank file and can be deleted)

View 1 Replies


ADVERTISEMENT

Red Hat / Fedora :: 550 Permission Denied Error Message (Cannot Upload File)

Jun 1, 2011

I have got centos 5.3 running on my system. I have installed vsftpd and created a separate folder to upload files (upload folder created in/var/ftp/pub). From my client end I can download ftp files but when I try to upload files from my client I get a error message 550: permission denied. The upload folder has full permission ie 777. Checked the ftp config file everything looks ok.

ftp config file
12 anonymous_enable=YES
15 local_enable=YES
27 anon_upload_enable=YES

View 3 Replies View Related

Debian :: Cp: Cannot Create Regular File `/mnt/SwSetup/ComboFix.exe': Permission Denied

Aug 27, 2010

I'm using my AntiX M8 Live CD to repair a hosed Windows installation, I downloaded ComboFix to ~/home/Desktop and now I'm trying to copy (cp) the file to /mnt/ where I have already mounted the NTFS Windows partition. NTFS3G is integrated into AntiX, right? So why am I having permissions errors?

Code:

mepis1:/home/demo# cp -v Desktop/ComboFix.exe /mnt/SwSetup/
`Desktop/ComboFix.exe' -> `/mnt/SwSetup/ComboFix.exe'
cp: cannot create regular file `/mnt/SwSetup/ComboFix.exe': Permission denied
mepis1:/home/demo# So far, I can read it without any errors in Terminal and navigate through the whole filesystem in ROX-Filer, Do I need to edit /etc/fstab to be able to write to an ntfs drive?

View 6 Replies View Related

Hardware :: Cannot Create Regular File `/mnt/kingston/linux_guide.pdf': Permission Denied

Dec 16, 2010

i installed Slackware 13.1 64 bits in a asus laptop and until now everything is running ok. But when i tried to mount a usb pendrive, i just can mount it as root;well, i thought there would be no problem, i will change permissions with chmod and everyone could access, read and write on it the command :

mount -t ntfs /dev/sdb1 /mnt/kingston

and making ls -l the result is :

drwx------ 1 root root 12288 Dec 8 17:20 kingston

so next i wrote (as root):

chmod 777 -R kingston

and the message was "Operation not supported" i tried also changing the ownership permission :

chown molei:users /kingston
drwxrwxrwx 1 molei users 12288 Dec 8 17:20 kingston

so, apparently i would have total access to the kingston directory; the problem is when i try to copy something to the kingston dir, an error msg. appears :

cp: cannot create regular file `/mnt/kingston/linux_guide.pdf': Permission denied

View 2 Replies View Related

Ubuntu Servers :: Permission Denied Dumping Master File?

Mar 21, 2011

I am attempting to setup an Ubuntu server as a secondary DNS server. It seems whenever it tries to dump the master file the system log shows Permission denied.let me know if more information is needed.NOTE: where it says example.com I have simply removed my actual Domain name.

Mar 21 21:49:24 ulinux named[14418]: zone example.com/IN: Transfer started.
Mar 21 21:49:24 ulinux named[14418]: transfer of 'example.com/IN' from 192.168.0.15#53: connecte$

[code]....

View 1 Replies View Related

Fedora Networking :: Ssh Error Message - Permission Denied

Feb 8, 2011

I've just set up keys using

[Code]...

View 5 Replies View Related

Security :: Changing The Permission Denied Error Message?

Jul 9, 2009

Is it possible to change the general permission denied error. I have some rather young users on this system that think they can "hack the gibson" and I would love to change the general error message to something a little more rude/funnyex:# cd restricted area
-sh: cd: restricted area: Permission deniedI am curious if its possible to change the error message in general?ex:# cd restricted area-sh: cd: restricted area: (funny/rude message goes here)Quick info:This is a Gentoo 2008.0 system, I would also love to do this on my slacware and OpenBSD boxes as well just for kicks.

View 2 Replies View Related

Fedora :: Wireshark - Dumpcap Permission Denied Error Message

Jul 8, 2011

I am trying to use Wireshark and on startup the program pops up a window saying:
Couldn't run /usr/sbin/dumpcap in child process: Permission denied
Are you member of 'wireshark' group? Try running 'usermod -a -G wireshark <username>' as root.

I ran the usermod command to add my account in the group and checked it
Code:
less /etc/group
wireshark:x:490:myaccount
but the same error message pops up.

View 3 Replies View Related

OpenSUSE Multimedia :: Get The Error Message Usb_open: Permission Denied

Jan 11, 2011

I have an old Creative Nomad Jukebox Zen Xtra, and I installed Gnomad2. When I plug the usb cord in the Zen lights up.

Using the Gnomad2 rescan menu, I get the error message Usb_open: Permission denied.

How can I correct this?

View 6 Replies View Related

General :: Can't Create The Folder Directory - Permission Denied

Jan 18, 2010

I set security context for a folder as 702 to enable other users to create and delete folder contents.But whenever other users try to create a folder,its says "Permission denied".

View 11 Replies View Related

Ubuntu Installation :: Cannot Create Startup Usb-flash Drive - Permission Denied

Jan 7, 2011

An uncaught exception was raised: [Errno 13] Permission denied: '/media/e6f6ac46-4bfc-487b-9c81-aab706ead9e3/boot'

The above is the error message I get when I try to create an usb-flash boot drive. I downloaded the iso for Mint10 and use the "create startup disk" program to create the boot drive. I can see both the iso and the flash drive within the program, but when I click on "create disk" I get the above error message?

View 7 Replies View Related

Ubuntu :: Android And Chrooted - Mysqld Can't Create Ip Socket Permission Denied

Sep 1, 2011

I have a droid phone, and I have ubuntu 9 running on it. This is done by chrooting since the phone runs a linux kernel. And it works... I have a question though. tightvncserver does work, and its able to listen on 127.0.0.1.. Its how you view your X session. So you chroot to Ubuntu, then start vncserver. Then switch back to android and login to ubuntu via vnc client. but apache, mysql, and postgresql do not work. Well. They dont seem too.. except for mysql. Mysql will start but only if you tell it not to use networking by saying skip-networking in my.cnf

Mysql says: mysqld cant create ip socket permission denied Apache2 says it can find 127.0.0.1 but doesnt actually run same with postgresql... All seem to be compiled with arm architecture. So why does tightvncwork? Why is it so special? How can it listen on the loop back (127.0.0.1) when nothing else can...

I have /proc and /dev bind to the chroot side. I can run ifconfig okay, and I can run /etc/init.d/networking start okay.. But apache2, mysql, etc have problems binding. I have removed apparmor even though technically its not running, but I removed it and its configuration files, just because I thought perhaps mysql looks at apparmor, but I doubted it.

View 1 Replies View Related

SUSE :: Mkdir: Cannot Create Directory `transferdata': Permission Denied

Oct 25, 2010

I am working on SUSE 9 Server in which I am trying to make folder transferdata under /opt folder but it is throwing an error mkdir: cannot create directory `transferdata': Permission denied

View 2 Replies View Related

Server :: Can't Create Mailbox In Cyrus-imap - Permission Denied

Jan 4, 2010

i can't get cyrus mailbox created. what i get is only error:

cm user.test.test
createmailbox: Permission denied

if i try user without "lastname":

cm user.test
createmailbox: System I/O error

here's maillog message:

Jan 4 13:08:09 pigeon imap[21695]: login: host.domain.com [127.0.0.1] cyrus plaintext User logged in
Jan 4 13:09:12 pigeon imap[21695]: IOERROR: creating directory /mail/imap: Permission denied

[code].....

View 2 Replies View Related

Server :: ProFTPd - Upload Anything Or Create Directory: 550 Permission Denied Error

Jan 7, 2010

I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.

When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there

View 5 Replies View Related

CentOS 5 Networking :: Error: Unable To Create Socket - Permission Denied

May 21, 2009

I have a cgi script that tries to get the IP address of a domain. the Domain is defined in Bind, yet it can not resolve it. I put the domain in the host file and it then gives a Error: unable to create socket - Permission denied

I figure I have to do some code changes to the script but here I would like an explaination as to the error I am getting.

View 1 Replies View Related

Ubuntu Servers :: Ssh Server - Permission Denied - Please Try Again

Feb 20, 2010

fresh install of ubuntu karmic server. fresh, vanilla install of openssh-server attempt to connect either via standard ssh, linux client or puTTY win32 client system (both on local LAN)

First connect is great. connection established.

Second connection (via multiple clients) screams that: "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" and since I have strict checking, won't let me continue.

So, i do a little

Code:

To flush it out (i have backups,).

Then i try again:

I get the typical "Are you sure you want to continue connecting (yes/no)?" and i say yes. at which point, i offer the password for the username in question and it flat out refuses: "Permission denied, please try again."

Ok, so i have even gone as far as do a complete rip and replace of the ssh server and it's config files, however this continues to loop and repeat.

So, question one: Why does my key change?

Question two: Why am i getting "permission denied" errors on subsequent connect.

View 9 Replies View Related

OpenSUSE :: Traceroute Broken In 11.4 - Unable To Create ICMP Send Socket: Permission Denied?

Apr 5, 2011

Code: # traceroute -I 69.12.32.2 Note: the -i and -I options were exchangedfor compability with LBL traceroute Use -I for ICMP, and -i <ifname> to specify the interface name unable to create ICMP send socket: Permission denied Note that the command was done as root. This worked in 11.3.

And yes, it works without the "-I". But it should work with the "-I". One shouldn't have to boot into Windows, just to run "tracert" there.

View 9 Replies View Related

Ubuntu Servers :: SATA/PATA - Permission Denied

Apr 18, 2010

I'm currently running Karmic on a old Dell Pentium 4, and I am having trouble copying files to this box from my laptop which is running Linux Mint Helena. I am able to see and connect to the shared directory on the Dell, copy and execute files from there, but cannot write to it. The permissions have been set to 777 on the shared directory and sub directories within that. The older Dell has a PATA hard disk, 300gb, while my newer laptop has a SATA hard disk. I've read that this can be a problem, and permissions may not be recognized? I'm not able to connect to the laptop from the Dell, neither of the administrator logins work, though I maybe need to do this as root?

Here is the smb.conf file I am running on both machines:

I want to be able to write to my server, not just read and execute. I am also not able to write to the server when logged on to a windows machine on the same network.

View 2 Replies View Related

Ubuntu Servers :: Root Permission Denied Errors When Using Apt

May 6, 2010

Just had a new VPS installed running Ubuntu Server 8.04 Getting some errors when I connect to the server and try to use apt.. only trying to install nano and after messing around I've managed to get the error to change.. but still can't get any further.

error

Code:

# sudo apt-get install nano
Reading package lists... Done
Building dependency tree
Reading state information... Done

[code]....

View 4 Replies View Related

Ubuntu Servers :: SSH Error: Permission Denied (publickey)

Aug 10, 2010

I want to use SSH to connect to my desktop. I have used Ubuntu 10.10's encryption to encrypt my home folder (thus encrypting my .ssh folder). This means that the OpenSSH doesn't have access to my .ssh folder. When I try to log into SSH before logging in on the local machine I get the following error:

Code:

jason@ONONWARA:~$ ssh jason@192.168.1.152
Ubuntu 10.04.1 LTS
NIHATI
Permission denied (publickey).

If I log onto the machine, then use SSH it works fine. I want to use key based login, One way to get around this error would be use a different authorized_keys file, but I don't know of a way to do this. This is the contents of my sshd_config file:

Code:

# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for

[code]....

View 2 Replies View Related

Ubuntu Servers :: Cat Command Gives Error Permission Denied

Aug 28, 2010

I am using Ubuntu server edition 10.04.1 running in Vmware server 2.02.I am connect via Putty so I can use copy and paste.My first goal is configuring a ftp server using PureFtpd using this guide.In section 10 I need to write this command

cat /dev/null > /etc/pure-ftpd/db/mysql.conf

I am getting this error

almog@Testing:~$ sudo cat /dev/null > /etc/pure-ftpd/db/mysql.conf
-bash: /etc/pure-ftpd/db/mysql.conf: Permission denied

I tried with and without "sudo" and I am getting the same error.

View 3 Replies View Related

Ubuntu Servers :: Password To Log Into SSH Server - Permission Denied

Jan 23, 2011

I have created a basic ssh server and i haven't done any configuring to it other than to port forward port 22. i am trying to connect to it from a client computer (they are on the same router). i enter the command "SSH <IP of the server>", and it asks me for the password. i have tried "SSH <my user name>@<IP of client>", but it says permission denied.

View 8 Replies View Related

Ubuntu Servers :: Rp_filter Why Can't Disable - Permission Denied

Apr 29, 2011

I am setting up WCCPV2 with squid with my ASA Box. I need to disable RP Filter with the following commands.

echo 0 >/proc/sys/net/ipv4/conf/wccp0/rp_filter
echo 0 >/proc/sys/net/ipv4/conf/eth0/rp_filter

When i run them as sudo i get a permission denied.

View 1 Replies View Related

Ubuntu :: Wubi Error Windows 7 - Error Message Permission Denied

Oct 23, 2010

[code]...

Gives error message permission denied. I've seen this in your forums but I still haven't found the fix. I've tried the latest release Wubi downloader too. This one is ran from a CD. Version 10.04

View 3 Replies View Related

Ubuntu Servers :: Permission Denied Error 13 On Apache2 Setup

May 8, 2010

I wanted to setup a local Apache2 server for some programming and testing. I installed and got Apache2 working with PHP, MySQL and all works fine. Now I wanted to add an additional directory to somewhere in my /home. And that's where things went wrong. I went to edit /etc/apache2/sites-available/default. This is it:

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny

Code:
You don't have permission to access /po/ on this server.
So I go to the logfile; which says this:
Code:
[Sat May 08 16:43:51 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /po/ denied

I tried a lot of stuff using chmod and chown, but all to no avail. I tried to change the ownership of the /home/name/web to root, and to www-data, I changed file permissions to allow executing the files.

View 6 Replies View Related

Ubuntu Servers :: Proftpd Permission Denied After Upgrade From Server 8.1 To 9.1

May 24, 2010

After upgrading ubuntu server to the latest version (according to apt-get) proftpd stopped working. When I try to execute proftpd I get the following message (when logged in as root or user with root privileges) :

Code:

Line 18 in modules.conf looks like this:

Code:

I've tried removing and re-installing proftpd, but this doesn't help

If I comment line 18 in modules.conf, I just get permission denied on the next LoadModule command...

Can I remove all modules? or is there a way of fixing the permission denied issue?

View 2 Replies View Related

Fedora Servers :: Can't (su - Vmail) Permission Denied [Courier Set Up]?

Jan 13, 2011

I was setting up a Postfix email server, and I was following a basic tutorial here. I successfully installed all the required packaged, and then set up a Virtual user for the mailbox, and Set up a new user with this.

Code:
groupadd -g 5000 vmail
useradd -g vmail -u 5000 vmail -d /home/vmail -m

[code]....

View 1 Replies View Related

Ubuntu Servers :: Solid-pop3d Gives Permission Denied On Opening Mailbox?

Jan 31, 2010

The user "abimail" has a mailbox specified in /home/abimail/.spop3d which is /var/mail/abimail. The permissions of /var/mail/abimail are:

Code:
rwxrwx--- 1 abimail mailgroup 192113 2010-01-28 20:24 /var/mail/abimail. When logging in to solid-pop3d as user abimail and attempting to fetch mails, the login works but it will pop up the error "can't open mailbox file"; syslog entries:
Code:
Jan 31 17:38:10 h1347290 solid-pop3d[23857]: user abimail authenticated - 87.176.220.50
Jan 31 17:38:10 h1347290 solid-pop3d[23857]: mailbox: can't open mailbox file: /var/mail/abimail
Jan 31 17:38:10 h1347290 solid-pop3d[23857]: mailbox: open: Permission denied

[Code]...

View 2 Replies View Related

Ubuntu :: Permission Denied When Trying To Append To File / Fix It?

Feb 8, 2011

Sudo echo fuse >> /etc/modules

Any idea why that'd yield a "bash: /etc/modules: Permission denied" error? Here's what "stat /etc/modules" says code...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved