Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Difference between normal Execute permission and GUID Post 302617225 by ksgnathan on Monday 2nd of April 2012 09:21:16 AM
Old 04-02-2012
Difference between normal Execute permission and GUID

Hi,

Any can explain the difference between the normal execute permission for the file and GUID of the file.

Since the normal execute permission has right to execute file why there is need of providing GUID for the same file.

Also share some examples for SUID and SGID programs.

Regards
Siva
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No permission to execute file

I am logged in as root and am trying to execute a file called x_cleanup_equdata but keep getting the message ksh: x_cleanup_equdataNEW: 0403-006 Execute permission denied. I did FTP this file from another server using GET, would this make the difference? I tried chmod 666 but still no luck. ... (2 Replies)
Discussion started by: markbeeson
2 Replies

2. UNIX for Dummies Questions & Answers

Any difference between the CLI of Mac OS X and normal UNIX?

Any? (11 Replies)
Discussion started by: edward
11 Replies

3. Shell Programming and Scripting

without execute permission

how can a script run without execute permissions. when i run myscript as : sh a.sh it was working but when i say simple a.sh its not working since it has no x permission.but how about fist case? (1 Reply)
Discussion started by: Raom
1 Replies

4. Shell Programming and Scripting

Only Execute Permission for Others...

This might be very silly question but i dont know y is it so... i Have script I have Given the permissions in the following manner... -rwxrwx--x 1 root system 3 Jun 08 15:46 temp I want no one to see what is present in that but should be able to execute it.. but when... (3 Replies)
Discussion started by: pbsrinivas
3 Replies

5. Solaris

difference between RPATH and normal linking while building

while building in solaris and going for dynamic linking whats the difference or advantage or disadvantage in using RPATH vs while linking package and dependency libraries i need a little explanation about this RPATH option specially and the difference with normal linking using -L (0 Replies)
Discussion started by: mobydick
0 Replies

6. Shell Programming and Scripting

root user command in shell script execute as normal user

Hi All I have written one shell script for GPRS route add is given below named GPRSRouteSet.sh URL="www.google.com" VBURL="10.5.2.211" echo "Setting route for $URL for GPRS" URL_Address=`nslookup $URL|grep Address:|grep -v "#"|awk -F " " '{print $2}'|head -1` echo "Executing ... (3 Replies)
Discussion started by: mnmonu
3 Replies

7. Shell Programming and Scripting

Execute Root command as Normal user

Hi, We need to execute a root commmand to change the expiry period of a user but we are getting error as permission denied Q How can we execute a root command by a normal user ? :mad: any thing or suggestion will be good .... :b: (3 Replies)
Discussion started by: abhishek1979
3 Replies

8. Programming

Difference between system calls and normal functions in C

hello all, i'm a beginner in linux programming. I need to know what is the difference between system calls and normal functions like fopen, fread etc in C?Also how to set permissions by using open system call? (11 Replies)
Discussion started by: aarathy
11 Replies

9. UNIX for Dummies Questions & Answers

Execute a command as root from normal user

Hi , I am trying to stop and start a process using the below code. I have sudo access on my machine ## PID = process id echo "$PASSWD" | sudo -S kill -9 <PID> echo "$PASSWD" | sudo -S /opt/abc/startserver /opt/abc/startserver: error while loading shared libraries: librts.so: cannot open... (6 Replies)
Discussion started by: rakeshkumar
6 Replies

10. AIX

Unable to set ACLs on sulog - need to grant read permission to a normal user on AIX 6.1

Hi, I need to grant read permission to a normal user on sulog file on AIX 6.1. As root I did acledit sulog and aclget shows "extended permissions" as "enabled" and normal user "splunk" has read permissions. When I try to access sulog as splunk user it won't allow and aclget for splunk user... (6 Replies)
Discussion started by: prvnrk
6 Replies
DBIx::Class::Storage::DBI::ACCESS(3)			User Contributed Perl Documentation		      DBIx::Class::Storage::DBI::ACCESS(3)

NAME
DBIx::Class::Storage::DBI::ACCESS - Support specific to MS Access DESCRIPTION
This is the base class for Microsoft Access support. This driver supports last_insert_id, empty inserts for tables with "AUTOINCREMENT" columns, nested transactions via auto_savepoint, "GUID" columns via DBIx::Class::Storage::DBI::UniqueIdentifier. SUPPORTED VERSIONS
This module has currently only been tested on MS Access 2010. Information about how well it works on different version of MS Access is welcome (write the mailing list, or submit a ticket to RT if you find bugs.) USING GUID COLUMNS
If you have "GUID" PKs or other "GUID" columns with auto_nextval you will need to set a new_guid callback, like so: $schema->storage->new_guid(sub { Data::GUID->new->as_string }); Under Catalyst you can use code similar to this in your Catalyst::Model::DBIC::Schema "Model.pm": after BUILD => sub { my $self = shift; $self->storage->new_guid(sub { Data::GUID->new->as_string }); }; AUTHOR
See "AUTHOR" in DBIx::Class and "CONTRIBUTORS" in DBIx::Class. LICENSE
You may distribute this code under the same terms as Perl itself. perl v5.18.2 2013-12-16 DBIx::Class::Storage::DBI::ACCESS(3)
All times are GMT -4. The time now is 08:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy