A Unix tool for changing file permissions
Questions tagged [chmod]
248 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,483
- 4
- 34
- 49
1
vote
1 answer
sftp limitation: disable chmod +x
Do I have an option to forbid a user group or a sftpuser to set chmod +x?
The user shall be allowed to upload media files, but no php scripts to run for example.

ledy
- 565
- 1
- 6
- 15
1
vote
1 answer
File/Directory permissions for SFTP user
After using the SSH quite a lot on my 1.5 week old Debian 6 VPS, I wanted to start uploading files through SFTP. I already tried that earlier, but with the root account, which isn't possible with SSH anymore due to security changes.
So I've made a…

Big-Blue
- 179
- 1
- 2
- 8
1
vote
0 answers
Running trac on a debian server - error writing to trac.ini
I have trac running on my debian server and I set it up using mod_wsgi through apache. Now I have everything setup nicely, except I can never seem to write to a projects trac.ini file through the site.
I have set the ini file to be writable:
sudo…

ingh.am
- 273
- 3
- 15
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
3 answers
Cannot login after chmod o -rwx
I have typed a recursive chmod o-rwx command from root in a linux via ssh. After that I can not login as root anymore. It is a huge problem now. Can I do anything to do to resolve this? I can only work via ssh, not locally.

ald mike
- 11
- 2
1
vote
1 answer
Cannot access directory via SFTP - "locked"-Flag
I'am trying to access a remote Directory via SFTP.
ls in the parent dir says that where the d for directory should be, there is an l. Manpage of chmod says something about "mandatory locking", but there's no hint how to remove the lock.
lrwxrwxrwx …

gorootde
- 226
- 1
- 3
- 9
1
vote
1 answer
Why can I only upload files via vsftpd if folders are chmod 777?
I have a problem with vsftpd on Debian: I can upload files if the chmod of all folders is 777, but with chmod 755.
Please help.
vsftpd.conf:
local_umask=022
anon_umask=0755
file_open_mode=0755
user1047737
1
vote
3 answers
The secure linux server by dir permissions
I am using php on Linux / Apache server. I have Three type of directories like as
|_ Writeale Directory
|_ PHP Files
|_ Image Files
Writeable Directory would used only by PHP to writing some txt, images...
PHP Files excuted by server and return…

Huseyin
- 126
- 1
- 1
- 6
1
vote
2 answers
What rights does /vol/www have on ubuntu web server?
We are deploying our rails app on a ubuntu 10.04 server. When cap deploy:setup, there is a error saying that:
* executing "mkdir -p /vol/www/myapp /vol/www/myapp/releases /vol/www/myapp/shared /vol/www/myapp/shared/system /vol/www/myapp/shared/log…

user938363
- 97
- 2
- 11
1
vote
1 answer
CHMOD crashes mysql
I believe I have a data corruption issue on my server.
This server has been hitting performance issues over the past few days with a specific set of software: gallery2. I've been attempting to fix it through the normal paths, one of which is…

robr
- 113
- 2
1
vote
1 answer
Ubuntu sftp default save permissions issue
I have a server running Ubuntu 8.04 LTS with sftp running on it. My problem is that when I access the server with sftp (using the username of one of my admin accounts, not 'root') and upload a file it's saved with the permissions rwx------. I then…

Casey Flynn
- 217
- 4
- 13
1
vote
1 answer
Permissions for user on linux machine to host website
I have root access to my hosted machine. I have created a user account 'abcd' and the user's directory is:
/home/abcd/public_html
In httpd.conf i have:
ServerName abcd.mysite.com
DocumentRoot …

siliconpi
- 1,807
- 6
- 32
- 46
1
vote
1 answer
file permissions on shared host
I'm on a shared host, and a bit confused about file permissions:
My website directory /home/user/www is owned by user:nobody
Everything inside /home/user/www is owned by user:user (?)
Most people would tell me I have to do the following…

admirabilis
- 1,605
- 3
- 11
- 10
1
vote
2 answers
Fixed: Apache - PHP permissions to create / edit files and directories?
I have a server on rackspace clouds... Fedora 13, and I installed apache, mysql.
Now, I have a piece of code (PHP) that my web app uses a lot. It works on my local machine running XAMPP, but when I upload this code on my rackspace server, it doesn't…

DylanJones_md
- 111
- 1
- 6