Questions tagged [chown]

The chown command is used on Unix-like systems to change the owner of a file.

The chown command is used on Unix-like systems to change the owner/group of a file.

147 questions
1
vote
1 answer

Why is kjournald extremely active on a mostly quiescent filesystem?

Note: This is a "documenting my process" question that I'll be writing an answer to. Happily, serverfault already helped me solve this, because writing up my situation so others would be able to assess it caused me to realize what was…
chaos
  • 7,463
  • 4
  • 33
  • 49
1
vote
1 answer

vsftpd can't upload to mounted directory

I have read many, many help pages today trying to fix this, and I'm still nowhere closer. vsftpd config…
monkeymatrix
  • 167
  • 1
  • 2
  • 7
1
vote
0 answers

DRBD heartbeat's resource role trouble in centos 5.4 by mysql files owner change?

I am using 2 machines with centos,mysql,drbd,heartbeat,asterisk. node 1 has hdc :SAMSUNG HD160JJ/P, ATA DISK drive kernel version 1 SMP Tue Aug 21 17:50:26 EDT 2012 kernel release 2.6.18-308.13.1.el5PAE mysql version 14.14 Distrib 5.1.65, for…
1
vote
1 answer

Permissions nightmare - tried all I know

Working on a new client's dev site, which is a wordpress install on a Plesk box. I have SSH root access, and FTP access through a separate account. What I've done so far Initially I couldn't make any changes to any files at all. The permissions on…
Ben
  • 53
  • 5
1
vote
1 answer

After Changing Permisions, Plesk,Root,Mysql is Down

i have connected on Root with SSH Access. Becouse i transfer the files with root, all files was root own. I need it to be on other user, so i was connected on as my current folder: var/www/vhosts/mypage/httpdocs/ I have posted this command: chown -R…
Seik
  • 73
  • 1
  • 6
1
vote
2 answers

FTP SITE CHMOD Error

When trying to edit file/folder permissions via FTP I am getting the error: 505 Security server forbids SITE commands. Contact admin. I am currently using VSFTPD with the config value chmod_enable=YES set. I also tried using ProFTPD instead but I…
1
vote
1 answer

DocumentRoot is /srv/www/htdocs; how to enable ~/public_html?

I have installed a LAMP stack on my OpenSUSE 11.4 server. Currently, the DocumentRoot is set to /srv/www/htdocs but I want my users to be able to use ~/public_html just as they would in a shared hosting environment. What Apache configuration changes…
zero
  • 159
  • 1
  • 1
  • 8
1
vote
1 answer

How to chown when a user name contains a dash?

A user and group contains a dash: abc-def. When I try to use chown I get an error: chown abc-def.abc-def * -R chown: invalid user: `abc-def.abc-def' the user is valid and it should work... how can I use chown with user/group names containing a…
MilMike
  • 206
  • 1
  • 5
1
vote
1 answer

mysql.sock issue, chown mess and file permissions in LAMPP

I've made a mess on my server. I'm using LAMPP and I've created a new user apache:apache and assigned him to take care of the Apache. phpMyAdmin did not work due to that change so I had to chown the phpmyadmin/config.inc.php to apache:apache. That…
RASKi
  • 11
  • 1
1
vote
1 answer

Change group owner of file, but not the owner

I want to make sure all directories and sub directories are of the group hgdata, but I do not want to change owner's (they are many different owners). The command chown -R will do the recursive ownership change for me, but how do I use chown…
Chris Dale
  • 1,553
  • 2
  • 12
  • 22
1
vote
0 answers

Cannot login to Solaris due to chown on /usr directory

Someone ran "chown -R username /usr" and now I have no way of logging into the box to change it back. SSH has been disabled, X Server won't start so I have no graphical GUI, and the console login keeps saying "Login Incorrect" when I try to login. …
smpappas
  • 33
  • 2
1
vote
2 answers

OSX chown problems after creating users with dscl

Alright, so I've made a user and a group using dscl as follows: dscl . -create /Users/deadline dscl . -create /Groups/deadline dscl . -append /Groups/deadline GroupMembership deadline Now I'm trying to chown things like so: mkdir /tmp/stuff chown…
RandomInsano
  • 441
  • 1
  • 5
  • 18
1
vote
0 answers

Lighttpd 403 Errors on HTML and PHP pages

I installed lighttpd on CentOS 5.5 64-bit. Everything seems fine and running except I cannot get past 403 errors on both HTML and PHP pages. I have used CHMOD and CHOWN, changed ownership in the config file, done everything possible and have been…
Brian
  • 11
  • 1
  • 3
1
vote
3 answers

chmod of 400,000 files inside multiple subdirectories?

Howdy... I'm looking to chmod 777 a whole bunch of files. Alternatively, since it's more secure, I could also settle for a chown www:www of these files to make them web accessible. Now, since I have over 400,000 files, sudo chmod -R 777 ./* and sudo…
Julian H. Lam
  • 277
  • 4
  • 13
1
vote
3 answers

What is the purpose of executable file access rights in Linux?

I never understood this, because if you have access to read a file, doesn't that mean you would be able to copy it somewhere else, thus allowing you to execute it anyway? What am I missing?
Fragsworth
  • 1,121
  • 2
  • 12
  • 14