|
|||||||||
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
unix and linux commands - unix shell scripting |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Difference between s & S in setuid in UNIX
Hi,
what is the difference btwn s and S in setuid , access permissions. I have to make to change the access permissions of a file to rwsr_xr_r but if i type in 4655 it changes the file to rwSr_xr_r . How can I make this change ? Please suggest. |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
To make this setuid executable you have to say,
chmod 4700 executable Also, s - setuid and executable S- setuid and not-executable, Thanks Nagarajan G |
| Sponsored Links | ||
|
|
|
#3
|
||||
|
||||
|
Thanks a lot
Thanks a lot. It worked.
|
| Sponsored Links | ||
|
|
![]() |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| difference between unix and linux | sanjaya | UNIX for Dummies Questions & Answers | 0 | 02-13-2012 01:46 PM |
| Unix difference | gwgreen1 | UNIX for Dummies Questions & Answers | 2 | 10-17-2008 01:36 AM |
| What is the difference between Unix & linux | csaha | UNIX for Advanced & Expert Users | 1 | 02-17-2005 09:00 AM |
| Any difference between the CLI of Mac OS X and normal UNIX? | edward | UNIX for Dummies Questions & Answers | 11 | 02-14-2002 10:26 AM |
| Difference between UNIX operating system and Unix Open Server | Manjit | UNIX for Dummies Questions & Answers | 1 | 01-09-2002 08:21 PM |
|
|