Slackware :: What Is Correct Permission For Mysql Directory

Aug 30, 2010

what is the correct permission for mysql directory under /var/lib directory? I set permission using: Code: chmod 755 mysql but got permission deny error. What is the best setting permission for this directory so that I won't jeopardize security?

View 4 Replies


ADVERTISEMENT

Slackware :: Select Correct Module Directory At Boot?

Jun 2, 2010

To clarify: I have two kernels, (a) one that "works" and (b) another that I am experimenting with. Each has it's own modules directory tree (in /lib/modules) and they are mutually incompatible ie kernel (a) will only work with module tree (a) and similarly for (b). I have two boot entries in lilo.conf which can be selected from the boot menu.

Now the problem is, what if something goes wrong when I boot to (b)? I'd like to be able to return to the safe option (a), but the current module tree is (b) and it won't work with kernel (a). I could use the Slack installationCD and rename the module directory (I presume this would work)but is there a simpler way, whereby I can select the correct module tree at boot time (or set it in lilo.conf)?

View 3 Replies View Related

Ubuntu Servers :: Correct Permission Handling Apache Virtual Hosts In Home Folder?

May 2, 2010

i use virtual hosts to develop several web applications. These are located in my home folder under /home/user/projects/project After a fresh installation, i always get a 403 forbidden error. After googling and reading on this forum, several solutions are mentioned for this problem. But i can hardly believe putting using a chmod 755 on my home folder is a correct solution. What is the correct way of doing things in this situation?

View 5 Replies View Related

Slackware :: Postfix - Cyrus SASL Authentication - Pam-mysql - Mysql Database

May 10, 2011

Pam-mysql can not connect to the database and below are my configurations.

saslfinger -s Output:
root@mailbackup:/# saslfinger -s
saslfinger - postfix Cyrus sasl configuration Tue May 10 10:12:10 EAT 2011
version: 1.0.2
mode: server-side SMTP AUTH

-- basics --
Postfix: 2.7.2
System: Slackware 13.1.0

-- smtpd is linked to --libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x00007f74ebfb7000)

-- active SMTP AUTH and TLS parameters for smtpd --

-- listing of /usr/lib64/sasl2 --

-- listing of /usr/local/lib/sasl2 --

-- content of /usr/lib64/sasl2/smtpd.conf --

-- content of /usr/local/lib/sasl2/smtpd.conf --

-- active services in /etc/postfix/master.cf --

-- mechanisms on localhost --

View 3 Replies View Related

OpenSUSE :: The No Such File Or Directory Warning Is Correct?

May 12, 2011

When I learn shell script, I want to add my own PATH variable to system previous variables. I find that my linux has the below PATH variables (in the end of this message). It shows 'No such file or directory' although I verify that all the directories exist. Some directories are empty indeed. This will result that warning?

I want to make the present PATH variables correct before I add mine.

bash: /usr/lib/mpi/gcc/openmpi/bin:/home/jeff/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin: No such file or directory

View 9 Replies View Related

Networking :: Correct Syntax For An NFS Shared Directory?

Jun 1, 2009

If I want to share a directory called /home/me, would I go to my /etc/exports file and share /home/me/* or would I share /home/me ? I am unsure of how to type this into the file.

View 2 Replies View Related

Ubuntu :: Correct Option To Merge Directory Trees?

Feb 17, 2011

I have a couple directories in the following format:
+ Dir 1
----+ Dir A
-------- file1
----+ Dir B
-------- file2
+ Dir 2
----+ Dir A
-------- file3
----+ Dir C
-------- file2
+ Dir 3
----+ Dir B
-------- file2
----+ Dir C
-------- file1

My desired structure is:
+ Dir Final
----+ Dir A
-------- file1
-------- file3
----+ Dir B
-------- file2-1 [or something so that the two files don't overwrite]
-------- file2-2
----+ Dir C
-------- file2
-------- file1

Basically, I would like to combine all the directories that I can, without deleting/overwriting any files. I have looked at Rsync, but I could not find the correct options to do what I wanted.

View 1 Replies View Related

General :: What Would Be Benefits If Mysql User Has Not Login Permission?

Jul 21, 2011

Since I have never had the need to create one, the first time I encounterd it I asked myself: what is it?I was looking for MySql installation guidelines on mysql.com, when, reading them, I found this command:shell> useradd -r -g mysql mysql.Now, I read the man page of useradd looking for explanation about -r option, but I didn't found it useful.It just says that -r options creates a System account, but it doesn't say anything else.So my question is: what is a system account? Few lines under the command it says:"Because the user is required only for ownership purposes, not login purposes, the useradd command uses the -r option to create a user that does not have login permissions to your server host."What would be the benefits if mysql user has not login permission?

View 6 Replies View Related

Programming :: Correct / Common Directory Tree For Software Packages?

Mar 16, 2011

I found it easiest to embed narp into the gtk+-2.0 installation because all I needed to do was tweak the Makefile.am and Makefile.in files and let configure do the rest.This is a hack. I've failed at getting my own makefiles to work.

Would anyone point me in the right direction on how to properly make an installer for Linux? Also, what is the correct/common directory tree for Linux software packages? Any more suggestions on proceeding with this project using community standards?

View 2 Replies View Related

Programming :: Check If The User Is In Correct Directory Before Executing Bash Script

Dec 10, 2010

I have been searching for 90 minutes for something that I "think" should be fairly easy. I'm pretty new to Bash Scripting so I could be completely wrong. Then again it may be a weird request to even need something like this. But here it is.I have a script written to convert data from one of our software version to another. The only thing I need to add to it is a "check to make sure the user running the script is in the /tmp directory".

View 7 Replies View Related

Software :: Help Finding Correct Version Of Yakuake For Slackware 13.37

Jul 12, 2011

I am a complete noob in the Linux community, having JUST installed my first Linux distro on my PC (that being Slackware 13.37).That having been said, please be patient with my TOTAL confusion is this regard : How do I determine which version of a package I need to download (in this example, I will use Yakuake, a program I AM trying to find at the moment!). I have done searches on the internet of the type"Yakuake for Slackware", etc., and I have always found results that I believed were a link to the correct version. However, when I finally have the package downloaded (I have downloaded BOTH source packages as
well as the build app.), they are always for a DIFFERENT VERSION!

This is most frustrating...; is there a "listing" of different packages that are compatible with a specific distro / version? I realize that, in many cases, I may require a newer version of a library, etc., but again, how do I determine this ahead of time, before I bother downloading the actual app. I wish to install? I can use another example - I attempted to install OpenOffice; I began by searching for OpenOffice for Slackware / KDE (as some sources indicated that Gnome was the required gui for this package...).I found a site with an install cd .iso that was supposed to be multi-platform KDE compatible, but NONE of the versions would install on Slackware 13.37... - you get my point?

View 3 Replies View Related

Slackware :: Firefox - Unable To Get Correct Display After Using Compiz In 13.1?

Jun 19, 2010

after i installed compiz, and enable compiz. a problem happen... my firefox (3.6.3) display it's kinda odd, it's like the firefox graphics has been cutted every i move to another tab, this problem occur too when i scroll the web page (the graphics cutted).

View 7 Replies View Related

Slackware :: Make K3b Write Files With Correct Mask

Jan 14, 2010

I've blown a couple of DVDs trying to burn them with correct file masks (directories and files are read-only). There doesn't seem to be any documentation for K3b (building the index doesn't do squat and the help says "The file or folder help:/k3b/index.html does not exist"). I can't seem to figure out a setting that simply copies everything the "way it is."

View 7 Replies View Related

Ubuntu :: Get Write Permission To A Directory?

Feb 21, 2010

I tried to read the File Permissions page on the wiki and my eyes glazed over after about three sentences. I've got a folder called /var/www/pics that I just want to be able to save image files to. My only other choice as I understand it is to save them to my home folder, then use a "sudo mv" command to copy files to that directory. How do I give my account permissions to save a file in that directory?

View 2 Replies View Related

General :: Change Permission On Directory?

Jan 4, 2011

I have 3 images made by clonezilla now I want to restore 1 of them, but when I try to use clonezilla to restore, there's no option to restore image. I can see the images in home directory and file is owned by root in my home directory. I'm trying to transfer image to usb hdd.

Did I place image in wrong directory or is it permissions problem.

View 8 Replies View Related

General :: Directory Execute Permission

Apr 24, 2010

I was always confused about the way it says that the execute permission for a directory means "able to list it". I just don't get it.Does no exec permission mean "still able to read files from in the directory, but not able to find out what files it contains" or what?

View 2 Replies View Related

Slackware :: Firefox 3.5.2 Doesnt Show Background Image Correct

Nov 1, 2009

Im using FF 3.5.2 and Slackware 12.2. On certain web pages, for instance www.slackware.com, Firefox doesnt display the background image, but instead displays multiple images of the tool bar of Firefox. It doesnt matter if I change the settings to allow third part cookies or if I tell Firefox to get images automatically. When using Konqueror, the web-site(s) appear normal.

View 5 Replies View Related

Ubuntu :: Permission To Write INSIDE A Directory?

Mar 9, 2010

How do I use "chmod" command so that it allows me to write a file inside a certain directory ? This directory has permissions in the formdrwxr-xr-xOnce I try to write a file there, it says "Permission denied" ! Don't advise to use "sudo", since the file is created by some executable program compiled from a source code. If I was creating the file myself, I wouldn't have gone to this forum.

View 4 Replies View Related

Ubuntu :: Lost Permission To Home Directory

Jul 14, 2010

I just recently installed a netbook version of lucid. Since it didn't support wifi, I did a wget of the 2.6.35 kernel and since then the netbook has been working great WITH wifi. It has been functioning great so far.Yesterday I went to add a user account for my girlfriend and that's when things went haywire.There were a number of error messages when I tried to log into both her account and mine after creating it:

First error: Could not update ICEauthority file /home/bob/.ICEauthority
Second error: There is a problem with the configuration server. (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256)
Third error: Nautilus could not create the following required folders: /home/bob/Destop, /home/bob/.nautilus

I have inspected the /home drive and made sure I have permissions for my /home/bob dir, but it doesn't seem to allow me to cd bob. The current permissions for user is drw-rw-r-- and it is owned by bob.

View 9 Replies View Related

Red Hat / Fedora :: Change A Permission On A Folder / Directory

Nov 20, 2009

How do I permission a folder?I have a group called serveradmin..I want to add and give the group server admin write permissions to folder /logs.I know how to permission a file.. but changing the folder permissions isn't coming to me.I must add that I don't want to remove any of the current permission on the folder/directory.

View 1 Replies View Related

General :: Permission Denied For Directory Have Created

Oct 22, 2010

I have created user, group, gave permission chmod and chown with -R option. But when i try to enter into the directory for that created the user and group, I can not enter into.

View 4 Replies View Related

Slackware :: Move Into New Directory To Get Wine Working In New Directory?

Aug 1, 2010

I came from the Debian world so I did not do much building software from source. I successfully built wine from source, now the wine binary is in the same directory where the Makefile and all of the other source stuff is. I can run wine from that directory fine, but I sort of want to move it somewhere else. I tried moving the wine binary somewhere else, but when I try to run it I get

[code]...

What all do I have to move into the new directory to get wine working in the new directory? By convention, where should I move wine, I want it available for all users, should I move it to /opt/wine, or /usr/local/wine, or somewhere else?

View 6 Replies View Related

Ubuntu :: Error Creating Directory: Permission Denied

Jan 11, 2011

I'm trying to create a folder using the archive manager to install Resin (web server) in the usr/local folder but I get the error message 'error creating directory: Permission denied.' Is this the easiest way to install an app--by using the Archive Manager--and if so how do I establish the correct permissions.

View 1 Replies View Related

General :: Listing Directory And Files' Permission Into Numbers?

Jul 20, 2010

Is it possible for listing directory and files' permission into numbers?

Generally ls command shows directory and files' permission as follows;

[root:maestro:/home/ddisk_net]# ls -al
Total 44
drwx------ 4 ddisk_net users 4096 7월 20 10:40 .
drwxr-xr-x 21 root root 4096 7월 20 10:28 ..
-rw------- 1 ddisk_net webteam 5 7월 20 10:40 .bash_history
-rw-r--r-- 1 ddisk_net users 33 1월 22 2009 .bash_logout

[code].....

View 9 Replies View Related

General :: Can't Create The Folder Directory - Permission Denied

Jan 18, 2010

I set security context for a folder as 702 to enable other users to create and delete folder contents.But whenever other users try to create a folder,its says "Permission denied".

View 11 Replies View Related

General :: Difference Between Directory Execute And Read Permission?

Mar 3, 2010

I was wondering what is the difference between directory execute and read permission?Also, how do I recursively remove executable permission from a dir, but just apply it to normal files?

View 6 Replies View Related

General :: Setting Permission For Multiple Users To A Directory?

Feb 25, 2010

I'm having trouble breaking down permissions in linux. Here's the scenario. I have two users: UserA & UserB with each having to ownership and access to directories myDirA and myDirB respectively.

UserA --> /source/myDirA
UserB --> /source/myDirB

I need to set the permissions so that userA can access myDirA and myDirB. There are other users and directories but they should not be able to view outside of their own directories (which is the way it is now). I don't have groups set up for them and I'd rather not change anything else but just the permissions.

rwxr_x_r_x UserA
rwxr_x_r_x UserB

They're read/write/exec permissions are identical.

View 14 Replies View Related

General :: Make New File Permission Inherit From The Parent Directory?

Jun 12, 2010

I have a directory called data. Then I am running a script under the user id 'robot'. robot writes to the data directory and update files inside. The idea is data is open for both me and robot to update.

So I setup the permission and owner group like this

drwxrwxr-x 2 me robot-grp 4096 Jun 11 20:50 data

where both me and robot belongs to the 'robot-grp'. I change the permission and the owner group recursively like the parent directory.

I regularly upload new files into the data directory using rsync. Unfortunately, new files uploaded does not inherit the parent directory's permission as I hope. Instead it looks like this

-rw-r--r-- 1 me users 6 Jun 11 20:50 new-file.txt

When robot tries to update new-file.txt, it fails due to lack of file permission.

I'm not sure if setting umask helps. In anycase the new files does not really follow it.

$ umask -S
u=rwx,g=rx,o=rx

I'm often confounded by Unix file permission. Do I even have a right plan? I'm using Debian lenny.

View 4 Replies View Related

Ubuntu Networking :: Active Directory Samba Share Permission?

Feb 24, 2011

I'm having a problem with Active Directory and Share permissions that I cant seem to figure out. I used likewise-open to join my ubuntu server to a windows 2008 domain. Everything seems to be working fine. The problem is, the only way I can access the shares is if I CHMOD 777 the share directory. If I CHMOD 770, the Domain owner or Domain group member of the directory cant access the directory. Also, when creating a folder within the share, I need to set the directory mask as 777 in order to enter those sub folders.

Heres the share section from my smb.conf

Code:
[public]
comment = Ubuntu File Server Share
path = /srv/samba/public
browseable = yes

[Code]...

View 1 Replies View Related

Ubuntu Security :: Permission Denied When Copy Home Directory?

May 22, 2011

Running Ubuntu 10.04 I logged into (sudo?) (root?) using:

Code:
sudo -s
and then entering my password.

I navigated into the home folder and viewed the long listing of it's contents using:

Code:
root@host:~# cd /home; ls -l
total 4
drwxr-xr-x 65 uname uname 4096 2011-05-22 17:14 uname

[Code]...

View 5 Replies View Related







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