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


ADVERTISEMENT

General :: Get Samba Read + Execute Permission

Feb 20, 2010

i need 2 king of permission 1 is full access and other is read+exceute. it can be by ip by userid or by group. as i am beginner try to find such example cant find it so far see below my smb.conf file

[Code]....

View 1 Replies View Related

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 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

Security :: File Permission - Read An Execute Only File

Dec 16, 2009

Suppose I have a binary program with only execute permission enabled for the current user. How (in general) would I be able to obtain a core dump of the file? I think I have read it somewhere but I want to know if there are more ways of doing it.

View 1 Replies View Related

General :: File Permission. Write And Execute Only?

Jan 11, 2011

Is there any use if a file has only write and execute permission and not read permission?

View 2 Replies View Related

General :: Changing File Permission To Execute?

May 12, 2011

My shell script runs from the command line, but fails in cronjob. /bin/sh: asper.sh: Permission denied

-rw-r--r-- asper.sh I guess the permission should look like '-rwxr-xr--' How can I change the permission to be like that?

View 2 Replies View Related

General :: How To Execute Permission To Chmod Command

Apr 14, 2011

How can I give execute permission to chmod command from run level 3.Because in GUI mode we have the execute option in the properties of file. E.g. I gave following command
chmod -x chomod
After that I want to give the execute permission (x) to chmod command again but how from command prompt?

View 5 Replies View Related

General :: Permission Denied When Trying To Execute Binary Burned To A CD-R

Mar 23, 2010

On an Ubuntu 9.10 (Karmic Koala) machine, I burned a CD from the command prompt using: cdrecord -v speed=16 dev=0,1,0 /FPS.iso.The CD now contains an executable and some files. I tested the CD by loading it onto another machine (Red Hat 5.3) and when I try to run the program I get the following message:bash: ./FPS1_1: Permission denied.I can open other files like text documents (the executable also comes with shared libraries).I realized I had burned the CD as root so I burned another one as another user but I still have the same problem.

View 2 Replies View Related

General :: Give Permission To Execute Process As Super User?

Jul 27, 2010

I have a program(that is written by me) which need super user permission to execute it. But I need to let the normal users to execute it without using 'sudo ./executable' and just './executable'. how i can set the program to execute by the normal users without using 'sudo' or password prompting.

View 2 Replies View Related

General :: Read And Execute Permissions For Executing The File

Mar 2, 2010

Binary files need only execute permission to execute. No read permission is required. But all executable files must be read by the kernel into main memory before executing. Also script files need both read and execute permissions for executing the file.

View 5 Replies View Related

General :: Read A Line Of C Comamnd And Execute In Shell Script?

Nov 9, 2010

I am using following code to read a lien from a file and store the value to a variable $line and execute it.

while read line
do
./$line &

[code]...

View 6 Replies View Related

General :: Why Can The BIOS Only Read And Execute Code And Data From Only Cylinder 0, Track 0 And Sector 1

Feb 25, 2011

I was just reading about the whole boot process on computers and am curious as to why the BIOS can only read and execute code and data from only cylinder 0, track 0 and sector 1 of the disk being booted from? Why can't the BIOS read from any other disk location?

View 3 Replies View Related

General :: Group Control - Read & Write Permission ?

Dec 21, 2010

I have a file the owner is root:root ( mode is 644 ), I want to release read & write permission to a non root user ( eg. admin_usr ), I tried to create a specific group ( eg. ADM ) and release it to root user and admin_usr ( by adding this users to ADM in /etc/group ) , but it is not work, if preserve the file mode to 644 , is it ok? how to do it if I want to have read & write permission in my case ?

View 5 Replies View Related

General :: Allow Specific User Permission To Read / Write Folder?

Feb 4, 2011

allow specific user permission to read/write my folder

I have a folder called /TAR/Sketch

I added a new user, named Snoopy, I want to grant this user the ability to add files & directories to this folder which is under the group Sketches and the owner is me.

How can I accomplish this ?

View 1 Replies View Related

General :: CP Read Permission Denied - Cannot Copy Files From Pen Drive

Sep 23, 2009

I can't copy a few files from my pen drive. Got the files from a public computer, with windows. I use fedora 10.

cp gives the following error--->
cp const1.java /home/user1/Documents/scjp
cp: cannot open `const1.java' for reading: Permission denied
lsattr shows this--->
lsattr const1.java
lsattr: Permission denied While reading flags on const1.java
mount shows this--->
/dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

View 3 Replies View Related

General :: Using TCPDump To Read Test File - Permission Denied

Oct 21, 2010

Trying to use tcpdump -r TEST, and get permission denied, even though I am logged in as root or super user. Tried using the "chmod a+rw TEST" (any other file for that matters, yes it came from another source) and get permission denied.

View 4 Replies View Related

General :: How To Execute Binaries Located In Different Directory

Feb 8, 2011

I am a newbie in writing unix scripts: I have a file with a list of arguments like:

./a arg1 arg2 arg3
./b arg1 arg2 arg3
.
.
.
./n arg1 arg2 arg3

But these binaries (a,b,..etc) are in a different sub directory from where the above file is located. How do I write a script that will pick up each line from the file and execute it.

View 2 Replies View Related

General :: Execute Scp To Copy Mysql Data Directory?

Aug 31, 2010

We have a test server in which we have not taken backup. Contents under /etc is entirely lost.

I need to execute scp to copy mysql data directory.

Also it is in remote location. Can I recover the data by scp by creating some /etc/passwd , /etc/shadow files ?

View 6 Replies View Related

General :: Execute Command Inside First Directory Of Each Matched Result?

Aug 8, 2011

I am working at a client who has a project where code is a mixture of different source control systems. So a layout might be like this

project/a/.svn
/a/subfolder/.svn
/b/.hg
/c/subproject/.svn
/d/.hg

So I am trying to put together a simple command that when executed from the project folder will run the appropriate hg/svn command in each project i.e:

[Code]...

Since the client has many such projects, Instead I am looking for a solution similar to find -exec where the svn/hg commands are automatically executed on each first level of match (i.e. svn up is run in the project/a folder but not in project/a/subfolder). How can such a command be constructed ?.

View 1 Replies View Related

General :: Whenever Execute The Below Scriptlet With Out Proper File Name It Deletes /tmp Directory?

Jul 22, 2010

Whenever execute the below scriptlet with out proper file name it deletes /tmp directory .I guess this is because value of variable a didnt get initialized and there for rm -rf /tmp/ get executed and entire /tmp directory get deleted.How would i avoid any empty variables to be used in script? as this is a classic case of destructive script.

Code:
#!/bin/bash
echo "Enter file to delete from tmp"

[code]....

View 8 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 :: 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

Server :: Difference After Copying Large Directory To A New Directory?

Apr 4, 2010

I m having a RHEL-5 sever.ABC directory size is 57GB after taking backup in the same disk with name ABC.bkp showing 56GB. i used below command to copy/backup. # cp -r ABC ABC.bkp (different sizes after copying)..I checked both the directory sizes by #du -sh <ABC> and du -ks <ABC.bkp>In both GB and KB there is lots of difference (200mb). why this will happen in copying? what is the solution for above question? what is the correct way of copying 1dir to newdir exactly?

View 4 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 :: 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

Ubuntu :: Unable To Set Execute Permission?

Jun 18, 2011

I have a triple boot system with Ubuntu 11.04, Windows 7 and Windows-XP on it. My disc configuration is something like this... ('cause I think it would be required for you to understand my problem) I have a 250GB hard disk which was originally partitioned with Windows-XP in six partitions C,D,E,F,G and H (All NTFS type) with 'C' drive having Windows-XP on it and 'D' drive having Windows-7 on it.

I installed Ubuntu on the 'H' drive by partitioning it into two halves of approximately 20GB each. One partition is named 'New Volume' as per Windows naming scheme. On the other partition I installed my Ubuntu-11.04 OS. As per my plan I would be using this 'New Volume' for all my Ubuntu related data and software only. I want to install 'Ant' build tool for Java to be usable on my Ubuntu. For this, as described on the Apache Ant user manual I downloaded the 'apache-ant-1.8.2-bin.tar.gz' and extracted it. All this I did in the 'New Volume' drive.

Now as per the 'Ant' manual I needed to change a file's ('/media/New Volume/ubuntu files/software files/apache-ant-1.8.2/bin/ant') permission to executable, which is currently set to '-rw-------' and I want it to be '-rwx------'. I've tried various things such as 'chmod/sudo' and also tried changing the permission with the 'root' user, but so far I've not been able to change the permissions for this file. However, if I copy the 'apache-ant-1.8.2' folder to '/home' directory then I've been able to change the permission for the concerned file.

View 4 Replies View Related

Ubuntu :: Permission Bits Difference Between 640 And 600

Jul 7, 2011

If i am the owner of all my files and am looking to change recursively the permissions of my home folder to something more secure than 644 (the default). What is the difference between 640 and 600. I know that the middle digit refers to the group, but what exactly will this mean for me? It seems i can r/w no problem without root password regardless of whether it's 640 or 600.

View 9 Replies View Related

General :: What Does "execute" Permission Do?

Mar 9, 2010

I am shocked that I still don't understand "Execute" permission in linux. There are three permission - read, write, and execute. I understand that read and write literally, but what does execute do exactly? Let's say I have example.php with execute permission. What can I do with example.php?

View 3 Replies View Related







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