2
votes
1answer
404 views

Permission denied for root to change inotify max_user_watches, how solve this?

As root in a CentOs 6.4 server I got this error in an application: Fri May 16 01:45:23 2014 Error: Terminating since out of inotify watches. Consider increasing /proc/sys/fs/inotify/max_user_watches ...
1
vote
1answer
180 views

Can't delete directory as root

i've created a directory for a nodejs app some time ago, called blog. The app was started with forever start app.js, nothing special. Now i tried to delete the entire app with folder, i stoped the ...
0
votes
2answers
1k views

MySQL - Access denied for user 'root'@'localhost' (using password: YES)

I'm pulling my hair out trying to decipher why every time I do a fresh install of mysql on OSX and import a database, the minute I restart the mysql instance I'm prompted with the message: Access ...
0
votes
3answers
285 views

Security best practice when running process as non-root user

So I'm trying to run Supervisor (http://supervisord.org/) as a non-root user. However the process outputs logs to the /var/log directory which is owned by root and has 755 permissions. Therefore ...
0
votes
1answer
335 views

mount cifs permission denied

Hi I have tried to mount with three ways for all of them I got the same error. 1) sudo chmod 777 /estore sudo mount –t cifs -o user=domain/username%MYPASSWORD,noserverino //domain /estore 2) sudo ...
1
vote
2answers
499 views

automysqlbackup - dumped files permissions

I'm using automysqlbackup, here is the default cron entry created #!/bin/sh test -x /usr/sbin/automysqlbackup && /usr/sbin/automysqlbackup My files are stored here ...
2
votes
4answers
4k views

MySQL root problems (access denied for root user)

I've having some very weird issues with my MySQL (5.5) root user. I'm trying to allow an external host to access the root user, but it seems as though my root@localhost does not have "GRANT OPTION" to ...
-1
votes
2answers
189 views

Root SSH/SFTP Always 777

I have an Ubuntu serve that I'm connecting to via SFTP (and also an SSHFS mount locally). When I move a file to the server via the mount I need it to have permissions set to 777. I've added umask 000 ...
1
vote
2answers
282 views

Run binary automatically as root

I have root access. How can I let a general user with little permissions run a binary file as root without a password? I tried giving it root:wheel with chown, but that did not let a general user do ...
1
vote
1answer
1k views

Home directory owner is root instead of user

I am adding users using the command useradd in opensuse 12.1 and creating a home directory on NFS. The problem here is the home directory's owner is root instead of user. msvlsi67:~ # useradd -g ...
3
votes
1answer
1k views

permission denied for chmod as root

I need to manage a customer's openvz guest (latest debian squeeze 64 bit). Now when I try to do a chmod 0750 /root as root it gives me Permission denied. This really puzzles me, as I thought root can ...
0
votes
3answers
1k views

How to give user root access without giving him root password

The scenario is this: I have a development machine I want (need) to have root access to Our admin setups the machines using his own credentials for the root user. The explanation being that if ...
1
vote
3answers
2k views

Access file outside document root

I'm trying to write on a file that is outside the document root, which is /var/www/html. The file I want to access is /home/user/files/folder1/info.txt, but my PHP file can't open it (it does even say ...
4
votes
2answers
2k views

RSync over SSH - permission denied even though the user is in the root group

I have a need to copy files between servers through the web. I'm using RSYNC over ssh to do so. The problem is, I need to be able to transfer files, no matter where the files is. I created a user ...
0
votes
1answer
161 views

Member of root group on two different computers, permissions don't match

I am a member of the root group on two different computers. On one computer I can do almost anything while I can't do these same things on the other. Example: iptables --list which is owned by ...
0
votes
1answer
521 views

How to provide write Access to root drive in windows server 2003?

How to provide write Access to root drive in windows server 2003 for "non-admin" users ? This is kind of requirement now, and happening in a controlled environment, so dont bother about security ...
4
votes
1answer
2k views

Denied root access to user mounted FUSE file system

Let me start with giving you the details of my setup: I am running Fedora 13 on an x86_64 arch. I have mounted a remote directory using sshfs: jim@localsite $ sshfs jim@remotesite:/home/jim ...
2
votes
1answer
3k views

Cannot Login as any user other than Root - permission denied

Help! I'm desperate :) I can't login as any user other than root. I'm on Ubuntu 10.04. Here's command output: root@pinky:~# adduser test Adding user `test' ... Adding new group `test' (1003) ... ...
11
votes
5answers
14k views

what permission to write PID file in /var/run

Ubuntu touch: cannot touch `/var/run/test.pid': Permission denied I am starting start-stop-daemon and like to write the PID file in /var/run start-stop-daemon is run as my-program-user /var/run ...
0
votes
1answer
318 views

Grant root access without having grant access with mysql

In attempts to learn more about apache and mysql, I've been fiddling with my local environment. Fun times. Of course, this leads to my screwing things up. So, thanks for being there. Recently, I ...
1
vote
3answers
846 views

Deny Home-Directory-Access for root

Hy, a friend and me want to share a Linux-Machine. We both need to get root-rights via sudo for administering that machine. Is it somehow possible to deny the access to the home-folder for the other ...
1
vote
1answer
88 views

Help Needed: I removed mysql db access permissions for root user. How can I gain access again?

I accidentally removed access permissions of database mysql to the root user. I'm now not able to create new databases, set permissions, etc. What can I do to gain access again?
1
vote
2answers
500 views

Problem after system update. Root permission denied, user lib permission denied

As I updated opensuse 11.1 with update packages from october and november 2009, I couldnt use the command ping. For root it gives Permission denied and for a regular user I get libresolv.so.2: ...
5
votes
5answers
14k views

ubuntu: let a user run a script with root permissions

I have ubuntu 8.04 and I want to write a bash script that runs as root which every user can run. I myself can do sudo. How do I do that? CLARIFICATION: I don't want to do it with sudo, because then ...