A Unix tool for changing file permissions

learn more… | top users | synonyms

0
votes
2answers
480 views

How can i protect my php files on a server (chmod ?)

I have a dedicated server, on this server i have two vhosts. and i will give the access of the server to two people. In my php file there's the database password and i don't want to share that with ...
1
vote
1answer
51 views

How To Block FTP Users From Changing File Permissions

I have been tasked with trying to reproduce an issue one of our developers is running into. On certain FTP servers, the FTP library he is using (Starksoft/Biko) returns a "530: Not Logged In" error. ...
1
vote
1answer
98 views

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.
1
vote
1answer
2k views

File permission mask/mode settings for Samba on FreeNAS?

I'm currently working on the Samba settings on a FreeNAS server. When any user creates a file or a folder on the server I want the file or folder to get the following RWX permissions: Folders: ...
0
votes
1answer
43 views

Permission samba shared www folder

I'm having trouble with permissions on a samba shared folder on ubuntu server 14.04. This is the www one. But actually, it's in /home/administrateur. As I want to preserve my www folder whatever ...
0
votes
1answer
138 views

Trying to include file from another account: permissions denied

I have a dedicated server running php with dso handler, I am including a global config.php from one account into all the other accounts. This works fine on apache when opening the sites via browser. ...
0
votes
1answer
181 views

apache user directory access permission denied

I've run chmod 777 on /home/cache/, however the apache user is still unable to write to it. My php script is writing to this directory but got a permission denied error and don't know why. ls -ld ...
0
votes
1answer
438 views

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 ...
0
votes
1answer
312 views

Issues with chmod resetting on Ubuntu after ftp upload

Whenever I overwrite a file using FTP, the chmod of the file gets reset to 600. What can I do prevent this? I'd like to just set the chmod for the entire directory and never have it change.
0
votes
1answer
1k views

CentOS 5.4 NFS v4 client file permissions differ from original files & NFS Share file contents

Having a strange problem with NFS share and file permissions on the 1 out of the 2 NFS clients, web1 has file permissions issues but web2 is fine. web1 and web2 are load balanced web servers. So ...
-1
votes
1answer
204 views

FTP user not able to see or access anything?

I am trying to make an FTP account for a user, and it is not working. The user wants to be able to ftp to his sites home directory, and change stuff. I created a user(MEvans) and set the home ...
-1
votes
1answer
297 views

linux automatic change permissions in resolv.file

In various linux servers I see how the permissions of the /etc/resolv.conf file change automatically. In state normal: -r--r--r-- 1 root root 103 Jul 4 11:50 resolv.conf In changed state: ...
2
votes
0answers
21 views

Specialized access control for directories in RedHat 6?

I have a requirement where I want to set permissions for a directory so that the directory owner (user/group) would be able to create files inside the directory and modify them, but won't be able to ...
1
vote
0answers
45 views

Weird permissions getting set on directories after rsync

I've got a drive on a Mac (OSX 10.7.5) that I'm sharing on the LAN. In the system preferences, the share is set so System Administrator has Read & Write access, System Group has Read Only, and ...
1
vote
0answers
222 views

CHMOD permission denied on SMB share

I'm mounting an SMB/CIFS share on my CentOS 6.4 server using /etc/fstab as follows: Mount windows share to /mnt/mywebsite //10.1.1.4/mywebsite /mnt/mywebsite cifs ...
1
vote
0answers
101 views

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 ...
1
vote
0answers
230 views

Unable to change permission of the files on mounted partitions in ubuntu 12.04 LTS

I have just installed ubuntu 12.04 LTS. I mounted my SOFTS(/dev/sda6) partiotion by selecting it on nautilis. After that i openend the terminal and tried to change the permissions of a file. The ...
1
vote
0answers
1k views

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 ...
1
vote
0answers
444 views

Python server does not excecute PHP script: permission denied

I am trying to execute a PHP file through a Python server. However, I get the following error: File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/CGIHTTPServer.py", line ...
0
votes
0answers
47 views

ISPConfig FTP permissions

I am using ISPConfig for a job that I am on and for some reason, one of the sites that is being hosted using ISPConfig does not have proper permissions and I don't know how I would even go about to ...
0
votes
0answers
64 views

How to inherit File Permissions for mails in Postfix Maildir

I need to set the Email files in a specific maildir accessible to all users of the server (chmod 0777). How can I achieve this.. I have tried stickey bit, but the ACL do not inherit to mail files in ...
0
votes
0answers
76 views

Why does git remote repo only work as root?

I followed this description setting up a git remote git repo. This worked pretty well so far, but only when I use root@mygitserver.com:/gituserhomedir/someproject.git. When I switch to user git@... ...
0
votes
0answers
80 views

Python script not executing after setting executable permission

i am having a python script #!/usr/bin/env python in top of my script? following is the permission i had set -rwxr-xr-x 1 user1 user2 6423 Nov 15 15:12 test i tried executing the script as user1 ...