0
votes
1answer
34 views

What should the permissions be on for PostgreSQL /data files?

I installed Postgres 9.3 from the osX binary. When I attempted to restart using pg_ctl restart, I received the following error: $ pg_ctl restart pg_ctl: could not open PID file ...
3
votes
2answers
172 views

Why would chmod give “No such file or directory” when running recursively?

I can change the permissions of the file directly: # chmod --changes --recursive ug+rwX /var/www/shared/tmp/cache/assets/BA0/280/sprockets%2F286302903364106648b609d708884f78 and I can also ...
1
vote
1answer
26 views

Changing default ownership for files created by a user

I gave user "jdoe" access to SCP files onto a Unix server hosting Wordpress. Files this user creates within the /var/www/Wordpress folder (and subfolders) need to be owned by www-data or at least the ...
0
votes
2answers
53 views

Using Jenkins to access mysql files on the same instance

I have a Jenkins installation and running mysql server on the same box. One of my jenkins jobs is supposed to tar up the /var/lib/mysql folder but I get the following error tar: ...
2
votes
1answer
194 views

vsftpd default permissions for website directory and ftp

I'm trying to setup vsftpd and my users correctly. I can connect to the ftp with my user but I can't create any directory or file. My websites folder will be there: /srv/www/domain vsftpd.conf ...
1
vote
1answer
87 views

How to prevent users from renaming files while providing write permissions on Linux [closed]

For some special purpose, I want to prevent non-root users of the Linux Server from changing/renaming the filenames. However, they can modify and write to the contents of the file. How to do this from ...
1
vote
0answers
37 views

Apache, php, maven and me—pemissions…

I have setup a local Apache2, with PHP and mysql. I wrote a maven build script to deploy my page on that local server. All that is working fine except for one thing: When I instruct maven to clean up ...
2
votes
1answer
885 views

Linux- Permission denied?

I'm installing Neo4j server as a linux service, but when I install it, I get the following message: /sbin/insserv: Permission denied What is this? What should I do? I'm running everything with ...
0
votes
1answer
237 views

Cron permissions?

I have a bash script which if I run manually (as root) performs all of its tasks without issue. The tasks are just a few php scripts and then a "mv" to move the process file to a temporary folder. ...
6
votes
2answers
354 views

Freebsd Secondary Group not allowing folder deletion

TLDR: I have a user that is a member to a group as a secondary group. This user can delete files with 664 perms as a secondary user, but not directories with perms of 775. Details: I have a user. ...
1
vote
1answer
47 views

How can we change the default permissions for files uploaded to our web server?

When a user uploads image files to our website the default permissions result in images which can't be viewed. How can we change default permissions to 755 automatically when for uploaded images?
1
vote
1answer
2k views

cannot write to nginx www folder

I've recently installed nginx on my dev machine with Ubuntu 12.04. I am currently logged in as myuser and after installing nginx I setup the following file permissions (nginx www folder was owned by ...
1
vote
2answers
1k views

How to make a folder accessible to users of a certain group on linux

I tried to make a the /opt/apps folder accessible to all users of the 'www' group. The main user of the group would be the 'jboss' user, so I runned: sudo chown -R jboss:www /opt/apps Both the ...
0
votes
1answer
76 views

Unix: giving a group permissions to a file

On a Ubuntu server, I have a database file under a user's home directory, specifically /home/pistacchio/lessico/mydatabase.db. Apache works under the group www-data. What is the best way to grant ...
-1
votes
1answer
129 views

unix read permission

I have a quick question about how the read permission works. Does read permission mean I can open the file? The situation is this: FTP server where I have an account that is not Root. There, files ...
19
votes
4answers
2k views

What is the first digit for in 4-digit octal Unix file permission notation?

3-digit: 644 ugo (user group other) 4-digit: 0644 ?ugo (??? user group other) What is the first octal digit for in 4-digit octal Unix file permission notation?
1
vote
1answer
66 views

What are the ramifications of UNIX files and directories where owner doesn't have group rights to the file?

I've a group of users, all of which are in a single group. Then I have a Java daemon that is a member of a seperate group. I want both the users and the daemon to have access to the same set of ...
1
vote
1answer
68 views

FTP permissions issue: files uploaded won't display in web browser

I've configured a ftp server on my Ubuntu box, and added a user to it. Now when I upload files to /var/www, the files aren't viewable on the web. I'm using lighttpd as my webserver, which runs as ...
2
votes
4answers
1k views

UNIX permissions to allow group users to kill each others' processes

Let's say we have a group (dev) which has many users and a shared development directory with g+rwx permissions on all contained files. Is this setup sufficient so that any dev user can kill a process ...
0
votes
2answers
772 views

Change Other Users Crontab

I've got a (deployment) script, that runs under my user 'me' and it should change the crontab of user 'ruby-server'. Am I right that the -u option (of crontab) doesn't help me much unless I use sudo ...
0
votes
1answer
83 views

mysql not started automatically upon server reboot

mysql not started @ server boot automatically but I can start manually as long as log as user "mysql" by using "/etc/init.d/mysql.server" the error I got on the log is 110809 9:16:21 InnoDB: ...
0
votes
2answers
324 views

Secure write access to system file (/etc/aliases)

I'm writing a program (in Python) that needs to modify a system file, /etc/aliases in this case. The software is a web application that typically will run under a dedicated web user, ie "www", ...
1
vote
2answers
422 views

Unable to sunchronize local and remote directories (“set times: Operation not permitted”)

I'm running into FTP errors using software like NetBeans or WinSCP: whenever I attempt to perform a synchronization or update of files from local --> server I get errors on the client saying "set ...
1
vote
1answer
1k views

Create ZIP archive without storing permissions?

I am distributing packaged files in ZIP format. I use the following to create: zip -r distr.zip files/ When expanded on other UNIX system files preserve their permissions as they were when I packed ...
7
votes
4answers
1k views

Reset user's password without root

Is there any way to allow non-root users to change other user's password. Specifically, is there a way to grant help desk employees the ability to do password resets. The help desk already can reset ...
0
votes
1answer
67 views

Groups & User Conventions for *nix Server

I'm looking for information on best-practices and common conventions for setting up users and groups for a unix-based web server hosting multiple sites. I'm looking for info on things like: how to ...
0
votes
2answers
577 views

How can I remove a directory that I own when it contains subdirectories owned by another user?

I have created a directory /home/web/test on a Debian server using a basic unprivileged account web. Another account — tomcat — then created some subdirectories and files in that folder (as you might ...
1
vote
1answer
405 views

Via ssh, git-checkout into directory the user doesn't own: “Permission denied”

Using git push server I push to a remote bare git-repository via ssh. The git-repository on the server has a post-receive hook which runs git checkout -f in /var/www/vhosts/domain.com/preview (working ...
1
vote
1answer
148 views

Understanding Unix Permissions (w/ ACL)

I am trying to set permissions on my server properly. Currently I have a number of directories and files chmod'd at 0777 -- but I am not comfortable with it being this way. So at the advice of a ...
2
votes
2answers
108 views

Unix Group Permissions

I have created a directory and chown to have permissions master:webmaster and chmod the folder to 775 hence group writeable. So why is it i bert as a member of webmaster cant mv the directory or ...
0
votes
2answers
350 views

Is it possible to get write/read permissions back after removing *all* read/write/execute permissions with chmod?

I accidentally removed all the permissions from a file. Now I don't have permission to chmod it. Is there any way of chmod(ing) the file back? Thank you
1
vote
3answers
1k views

setgid and group write - possible for recursive directories?

I'd like to set the gid bit so the child files/folders will be set to a specific group. But I noticed that the permissions for group are only set to read and execute, not write - by default at least. ...
0
votes
3answers
324 views

web files permission setup

I could not find out what is the best way to setup your web files under UNIX OS. I have Apache running on Centos OS, I put my root directory under /var/www/html Here is the example: /var/www/html ...
1
vote
2answers
61 views

are full privilegies on phpmyadmin correct?

I've just realized that my phpmyadmin has full privilegies (to guest also). See screenshot: However phpmyadmin is actually a link to another directory in my unix system. Is that normal or should I ...
0
votes
1answer
72 views

Easy to use remote PHP app for controlling file permissions?

We have a NAS here, in a small company, that I sysadmin (not my full-time job) and my boss want to have control on directory access. It's a QNAP so it's Linux-powered. The NAS doesn't provide an ...
2
votes
3answers
7k views

unix/setfacl: set directory default acl for correct permission inheritance

I have several svn repositories in /projects/svn which should be writeable by 2 users, mine (unix), and wwwrun (apache, for svn over http) newly created folders and file should be read/writeable by ...
1
vote
2answers
5k views

What causes Permission Denied when doing an ls on a symbolic link, when the underlying file has 'r' granted to all?

Not sure if this belongs here or on superuser.com. I'm battling with getting a C process working that needs to link in Oracle dynamic libraries. It compiles and runs fine under the oracle user (the ...
1
vote
1answer
45 views

Multiple directories update with changing user permissons

I have multiple users on one machine with FreeBSD7.3. Each user has his own site (only one). Each site is a copy of master-site with slight differences (ie. database configuration, template files). ...
0
votes
1answer
234 views

Script to replace user permissions?

I am moving resources from Mac and Unix boxes onto our windows storage server. I need to replicate permissions from Mac and Unix using the users active directory equivalent. So: File A On Location A ...
1
vote
1answer
412 views

Can't read directory owned by my group

I moved the postgres data directory to a separate partition and it works great. The directory is owned by postgres user and postgres group. d-wx------ 11 postgres postgres 4.0K 2010-06-11 08:28 ...
0
votes
1answer
67 views

How can I recursively verify the permissions within a given subdirectory?

I'd like to verify that nothing within /foo/bar is chmod 777. Or, alternatively, I'd like to make sure that nothing within /foo/bar us owned by user1 or in group1. Is there any way I can recursively ...
0
votes
1answer
604 views

How do I get Apache 2 to read this directory?

I'm on Mac OSX and i I have apache2 installed via MacPorts, running as the _www user. I have some files I want to serve in the /Users/Me/Documents/abc folder. Right now, though, the permissions of ...
3
votes
5answers
6k views

Add group rwx permissions to a folder

I have a folder named docs, how do I add rwx permissions for group devs to docs? I tried: chmod -R g+rwx docs but I don't know where to specify that it's the devs group I want to grant permissions ...
1
vote
2answers
316 views

Is it a good idea to chmod my Python site-packages directory to 777?

I use Python on Linux and OS X, and I'm trying to think of a good reason not to chmod my Python site-packages directory to 777. It seems like that is better to do than sudoing every time I want to ...
0
votes
1answer
322 views

Determine group of unreadable unix/linux directory

dcoles1@shovel:/ $ cd /DriveXT dcoles1@shovel:/DriveXT $ ls . unreadable dcoles1@shovel:/DriveXT $ cd /DriveXT/MML/ dcoles1@shovel:/DriveXT/MML $ ls . unreadable dcoles1@shovel:/DriveXT/MML $ ...
7
votes
4answers
2k views

Specify default group and permissions for new files in a certain directory

I have a certain directory in which there is a project shared by multiple users. These users use SSH to gain access to this directory and modify/create files. This project should only be writeable to ...
7
votes
5answers
405 views

I have about 20 servers…how do I manage the SSH keys and permissions of each?

I have database servers, web servers, SVN servers, etc. Often times I ssh among them...or they auto-ssh. How do I manage what server gets to log into which others?
0
votes
4answers
136 views

No longer have to enter a password to SSH into another server?

For some reason, I have a server that if ssh into another server...you don't need to enter the password. How is this done? Can someone give me step by step instructions please?
2
votes
4answers
1k views

Filesystem permissions on Unix

If I have a folder specified as not-readable. Are all folders under it also non-readable? For example, my shared hosting home account directory is not accessible to other accounts, so, are all folders ...
2
votes
7answers
933 views

Unix setting permissions on an entire folder

This is a noob question. I am in a folder called images - none of which show up on my website. I believe the permissions are not set correctly. What do I do to set them correctly so that they will ...