LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-26-2008, 08:23 PM   #1
SystemOverload
LQ Newbie
 
Registered: Nov 2007
Location: United Kingdom
Posts: 8

Rep: Reputation: 0
Users created with bad permissions


Hi,

I'm running CentOS Linux and when I try to create users (actually using the cPanel user creation script, but cPanel have insisted it is a problem with the system), there are some permissions problems with the user's home directory and the user isn't setup properly.

tar: ./public_html: Cannot mkdir: Permission denied
tar: ./public_ftp: Cannot mkdir: Permission denied
tar: .: Cannot utime: Operation not permitted
tar: .: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: Error exit delayed from previous errors

[root@bell cptest]# ls -al
total 16
drwx------ 2 root root 4096 Apr 23 22:26 .
drwx--x--x 400 root root 12288 Apr 23 22:26 ..
---------- 1 root root 0 Apr 23 22:26 .bash_profile

I have been told this is a common problem but I haven't found a fix.
 
Old 04-27-2008, 06:03 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Quote:
Originally Posted by SystemOverload View Post
when I try to create users (actually using the cPanel user creation script, but cPanel have insisted it is a problem with the system), there are some permissions problems with the user's home directory and the user isn't setup properly.
You could test that by trying to set up a user account manually with 'useradd'.


Quote:
Originally Posted by SystemOverload View Post
tar: ./public_html: Cannot mkdir: Permission denied
No idea what command caused this.


Quote:
Originally Posted by SystemOverload View Post
[root@bell cptest]# ls -al
If you meant this is inside /home/cptest, then /home by default has octal mode 0755 and user-owned homes minimally 0700.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bad file created newio Slackware 3 02-16-2007 12:30 AM
Changing permissions on images created by XSANE ajkrishock Fedora 1 10-26-2006 07:07 AM
Newly created File/directory permissions? redrobin77 Fedora 3 11-14-2005 05:55 AM
permissions for newly created files dialbat Linux - General 2 10-04-2004 03:58 PM
How do you unintall a bad package created by rpm illwi11 Linux - Software 1 09-02-2004 09:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration