General :: Give Web Application/daemons File Permissions?

Dec 4, 2010

I have a web application which calls scripts on the linux box it's deployed on. Currently, there are some file permission issues which prevent the scripts from running properly. How can I give my web application the needed permissions? I thought of creating a user 'group' , assigning my web app to that group, and changing the ownership of the script files to the new group. Unfortunately, I'm having trouble with the following: What user id does my web app have? If my web app does not have an user id,

View 3 Replies


ADVERTISEMENT

Ubuntu :: Give An Application Group Permissions?

Jul 30, 2011

How can I give an application group permissions?There is a bug in the latest version of Ubuntu's Dovecot, where it is not apart of mail group, so it does not have write permission to the /var/mail directory by default. So I have to give it mail group permissions.

View 1 Replies View Related

General :: Give An User 777 Permissions Without Affecting Others?

Aug 16, 2011

I have a user on my CentOS server who is not part of any group, just by themselves.

How can I give that user 777 permissions without affecting any other user on the server? I have chroot off, so I can see everything, but the user cannot write.

Do I use chown?

View 3 Replies View Related

General :: Give Write Permissions To Multiple Users On A Folder In Ubuntu?

May 9, 2011

There is a folder that is owned by user tomcat6: drwxr-xr-x 2 tomcat6 tomcat6 69632 2011-05-06 03:43 document. I want to allow another user (ruser) write permissions on document folder. The two users (tomcat6 and ruser) does not belong to same group. I have tried using setfacl: sudo setfacl -m u:ruser:rwx document

but this gives me setfacl: document: Operation not supported error.

View 1 Replies View Related

Ubuntu :: Give Permissions To Partitions?

Mar 6, 2010

I have a laptop with a 250gb drive. It is partitioned in the following way.

Vista 80gb
Ubuntu 40gb
Data 121 gb (Formatted as NTFS)

And I have a Windows 7 computer I have Samba installed on Ubuntu 9.10 and I can see the Windows7 computer from my Ubuntu laptop. However I can not see my Ubuntu partition or the Data partition over the network. How do I give permission for the Data partition, which is NTFS and the Home partition on Ubuntu?

View 3 Replies View Related

Ubuntu :: Give Full Permissions To Account?

Nov 21, 2010

how do i give full permissions to my account? At the moment i'm logged onto root so i can create files / folders in my LAMP folder (/opt/lampp/htdocs) i've right click on the folder and gone to the permissions tab and give the ownership to my account (Kevin) but it still doesnt let me create files or folders? i just want to give my account full permissions to every folder!

View 4 Replies View Related

Red Hat / Fedora :: Give All Set Of Permissions To An User For Accessing A Folder?

Nov 27, 2010

I am new user for redhat linux.I tried to install oracle 10g on rhel 5 using vmware.every time i am getting an error message permission denied

[oracle2 localhost tmp]$ cd database_10201/
[oracle2 localhost database_10201]$ ls
doc install response runInstaller stage welcome.html
[oracle2 localhost database_10201]$ sh r
response/ runInstaller
[oracle2 localhost database_10201]$ sh runInstaller
runInstaller: line 54: /tmp/database_10201/install/.oui: Permission denied

how to give all set of permissions to an user for accessing a folder..

View 1 Replies View Related

Fedora Servers :: Afpfs-ng Doent Give Unix Permissions

Jul 1, 2010

Unix permissions 000 given to directories.I m testing Netatalk 2.0.5 on my fedora machine with afpfs-ng. I m using afpcmd command to access the volumes on the netatalk server. the directories that i m creating via afpcmd are being created with permissions 000. I cannot browse thru them.

View 3 Replies View Related

Ubuntu :: Mount - Give Group Write Permissions In Fstab?

Mar 20, 2010

how do i give group write permissions in fstab? i'm trying to mount a virtualbox shared folder. currently my fstab looks like this Code: Share_Name /mnt/point vboxsf rw,uid=1000,gid=1000 0 0 i want to give both the owner and group, write permissions. currently, only the owner has write permissions, and group read with these mount options.

View 3 Replies View Related

Ubuntu Security :: Anyway To Get Nautilus To Give Root Permissions On Server?

Mar 30, 2010

I have recently secured a server by preventing root from logging in via SSH. Now I log in with a non-root account and use 'su' when necessary.However, now I can't do something I used to do, which is open 'sftp://user@ipaddress' in nautilus and be able to edit files as root. Is there anyway to get nautilus to give me root permissions on the server? Or at least end up with root permissions in a GUI text editor on my computer? I don't mind if I have to use bash to start the process, once I can get a GUI for editing files.

Note 1: Yes, I realize I could ssh in and use nano/vi etc, but I'd rather use my graphical text editor.
Note 2: The server does not run X, so I can't just forward it.

View 1 Replies View Related

Ubuntu :: Give Read And Write Permissions To Game Folder?

Aug 6, 2010

Just finished downloading a game in .run format, i downloaded it to my Home>Downloads folder and ran these commands in terminal: (game is tremulous if it matters)

chmod +x tremulous.run
./tremulous.run

It started it up in the terminal and i began working my way through the installation process, and i tried to install it into my Home>Games folder. (Is it supposed to be home>games or your username>games?)

and it said PERMISSION DENIED. No write permission to Home/Games/

How do i give myself read and write permissions to my game folder?

View 3 Replies View Related

Software :: Give Full Set Of Permissions To An User To Access A Folder?

Nov 27, 2010

I'm a new user for oracle,tried to install oracle 10g on redhat linux 5 but gettinh the same error message. response/ runInstaller [oracle2@localhost database_10201]$ sh runInstaller_runInstaller: line 54: /tmp/database_10201/install/.oui: Permission denied_

how to give full set of permisions to an user in linux to access a folder?

View 1 Replies View Related

Networking :: Which Application Will Give Access To Router

May 13, 2010

i want to know that which application in linux will give me access to the router like in windows we use hyper terminal or i have to install a particular package

View 2 Replies View Related

General :: Find Command Give Error File Not Found?

May 27, 2011

find /var/spool/mqueue -group abc -exec rm -rf {} ;Using above command , I delete all the files belong to group abc.Now the problem i face is that the this command gives error that some files are missing . And this error occur because after creating list of files, it pass that list to rm -rf but till that time sendmail process queue and some of files disapper from /var/spool/mqueue.

View 5 Replies View Related

Debian Configuration :: Give Application Write Access On Folder And Its Files

Mar 23, 2011

is there a way to give an application (controlaula) write access to a folder /var/lib/monitorprofe and files on that folder.

View 3 Replies View Related

Programming :: Does Declaring Variable Inside A Function Give An Extra Overhead On An Application

May 14, 2011

Does declaring variable inside a function give an extra overhead on an application? Would it be better to declare the variable globally and just reuse it? Example

Code:

#include <blah>
char mybuffer[2048];
int main()

[code]....

The only difference is the declaration of my variable. Since myfunction() will be called many times will it add an additional overhead if it will create mybuffer[2048] over and over?

View 5 Replies View Related

General :: Cannot Change File Permissions On A Mounted File System

Apr 6, 2010

I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab

Code:

/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0

Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.

View 2 Replies View Related

General :: Filtering Daemons List?

Feb 10, 2011

How do i filter the daemoms list for just 1 letter and then turn off certain run levels for that daemon?

View 2 Replies View Related

General :: Running Control Scripts As Daemons ?

Jun 6, 2011

I'm working with debian squeeze in an embedded system that have an ARMv5 on it.

I need to maintain active several programs, they always have to be running, and if they die, no matter what happend, they must be launched again.

Now I have one script for each program that basically do this:

Code:

And then I call all the script from etc/inittab whith respawn. That work fine for me, but I think that there is a better way to do this...

View 3 Replies View Related

General :: Automatically Disable Some DAEMONS In /etc/rc.conf?

Aug 25, 2010

trying to automatically disable some DAEMONS in /etc/rc.conf. This requires inserting ecxlamation signs itno the file. The example command

Code:
echo Hi?|sed 's/?/!/'
returns "unterminated `s' command".
but

Code:
echo netfs|sed 's/netfs/!netfs/'
returns !netfs as expected.

Where does the difference come from?

View 4 Replies View Related

General :: Back Out Of The Daemons Config Screen?

Feb 15, 2011

how to back out of the Network/Daemons configuration screen, so I can return to the install menu.I just tried the CTRL-O -> <CR> CTRL-X, it did not work.

View 2 Replies View Related

Ubuntu :: Change Permissions For File / Add These Lines Without Changing Permissions?

Oct 16, 2010

Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?

View 2 Replies View Related

General :: Debian Lenny Won't Startup Koha Daemons At Boot

Oct 11, 2009

I have installed Koha on Debian Lenny. It does work well, but I have to manually start the koha-zebra-ctl.sh by entering /usr/share/koha/bin/koha-zebra-ctl.sh start The is, however, that this starts at boot from /etc/init.d/koha-zebra-daemon. Like /etc/init.d/koha-zebra-daemon start (does not work now) In the koha-zebra-daemon file I have:

#!/bin/sh
# Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh
set -e
# Must be a valid filename

[code]....

I have made a symbolic link;

ln -s /usr/share/koha/bin/koha-zebra-ctl.sh /etc/init.d/koha-zebra-daemon

I have tried checking whether the symbolic link exists with readlink, but this never seems to return anything anywhere.

View 6 Replies View Related

General :: Backup Daemons Or Mdadm RAID Across Internal And External HDDs?

Aug 15, 2010

I'm building a new desktop computer, on which I plan to install Debian Squeeze. I'll have a 1 TB SATA hard drive in the system. I'm also considering using two 500 GB external USB drives, but I'm debating about how I want to use them. Running them all separately for 2 TB of space could be a nightmare, with three potential points of failure, so I was thinking of using the two external drives as a backup system instead.

I'm considering linking the two external drives in a RAID 0 array, then linking that array and the internal drive in a RAID 1 array. I would use mdadm software RAID for all of this so I could use individual partitions in the arrays, avoid hardware dependency, and have greater software control. So now is this feasible to do (having a partial RAID 0+1 setup)? Moreover, what kind of performance could I expect from using potentially slow external drives (one of which I know has a very long spin-up time after idle periods) in a mirroring setup with the internal drive?Would I be far better off using a filesystem backup daemon instead?

EDIT:After some more research and brainstorming, I've decided I might just end up using rsync+cron, lsyncd, or DRBD (assuming it can easily make backups locally). I'd probably have to link up the external drives in RAID 0 (or use some filesystem link trickery). But I suppose such a setup would offer greater control, flexibility in disk capacities (the full system isn't so strictly limited to the capacity of the smallest member of the array), and granularity than RAID 0+1 would.I'm still open to thoughts on the mdadm RAID 0+1 solution, but does anyone have any advice on choosing backup software? For some background on my needs, I'll be using this computer as both an everyday desktop and a personal LAMP server (MySQL database files would be included in the backups).

View 6 Replies View Related

General :: Permissions For Unzipped File?

Jan 29, 2010

How can I unzip file/folder in a way that it sets permissions of my choice to the unzipped contents instead of setting them for root:root?

View 2 Replies View Related

General :: Changing File Permissions While Doing Ftp?

Sep 17, 2009

I am trying to automate ftp to transfer files from windows to Linux server automatically and my script looks like this .

@echo off
SET CUSTOM=/apps12i/oracle/KIRAN/apps/apps_st/appl/custom/12.0.0/reports/US
echo user oracle> ftpcmd.dat

[code]....

Any files we transfer through ftp from windows , their default permissions to be set 755 automatically . We are using Red Hat Enterprise Linux AS release 4 (Nahant Update 7) .

View 1 Replies View Related

General :: Copying Permissions From One File To Another?

Nov 4, 2009

copying permissions from one file to another.I know that command for changing permission is "chmod", for example chmod 666 filename However, I have one file filename1 and by listing all contents of a directory with ls -al I can find out its permissions in form -rwwx and similar. Now I want to define exact same permissions to other file "filename2". How to use chmod command to accomplish this. Other way around would be to simply copy permissions from one file to another. Is there any command for this purpose?

View 3 Replies View Related

General :: File Permissions Not Set Through Chmod?

Jan 4, 2011

I had created a file under a directory & set the permissions through chmod command but when I create another file under this directory, I get the default permissions. Is this due to umask or can I set the file permissions through chmod under a directory.

View 5 Replies View Related

General :: Ubuntu 9.04 - Create A Launcher For A .txt File But Does Not Give Option Of Choosing "type"

Sep 7, 2010

I tried to add a new launcher to a xfce panel on an Ubuntu 9.04. The problem is that I want to create a launcher for a .txt file - and the launcher does not give me the option of choosing "type". I read the following:

[Code]...

View 8 Replies View Related

General :: Samba File Permissions For Multiple Groups In The Same General Path?

Nov 4, 2009

I'm using my Linux (SLES 10) server as a File Server at this point. I need to set File Permissions to nested folders differently to different groups. For example:

homesharedengineering* should be read only for groupA
homesharedengineeringadmin should be read & write for groupB Plus read only for groupA
homesharedengineeringautocad should be read & write for groupC Plus read only for groupA

I've been using Webmin and Putty to set permissions but Putty only allows me the Default Group, it won't allow me to set several groups on the same directory. Webmin seems to allow me to add multiple groups (Webmin --> Others --> File Manager --> Info & ACL tab will provide extended abilities) but when I add multiple groups, they don't seem to take effect? I'm wondering if my setup at the 'Share' level or at the hierarchy of my folder structure (unix based) needs to be set specifically?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved