06-05-2008
I'm not familiar with Mac OS X, so maybe this is a stupid question, but what's the significance of the plus in the permissions "-rwxr-xr-x+"?
Also, check whether the partition is mounted read only. Some file systems also have attributes like "immutable" which prevent changes to existing files, outside of the regular chmod permissions.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi gurus !
I am developing a FTP script which will copy all the files from one server to another server and then I need to use CHMOD 755 * to set permissions of all the files just copied to the remote server.
mput *
chmod 755 *
CHMOD gives me an error
CHMOD works fine If I specify... (3 Replies)
Discussion started by: sdlayeeq
3 Replies
2. UNIX for Dummies Questions & Answers
my file had permission
-rw-rw-r--
I did chmod +rwx, expecting everything to now be rwx, but it is
-rwxrwxr-x
why doesn't o have x permission?
thanks. (2 Replies)
Discussion started by: JamesByars
2 Replies
3. Shell Programming and Scripting
When I use sudo with ulimit there is an error but if I use ulimit without sudo there is no error.
In bash:
user1@debian:~$ sudo -u user2 -H ulimit -S -c unlimited
sudo: ulimit: command not found
user1@debian:~$
user1@debian:/home/user1$ ulimit -S -c unlimited
user1@debian:/home/user1$... (3 Replies)
Discussion started by: cyler
3 Replies
4. Shell Programming and Scripting
Legends,
I am trying sudo chmod from one shell to different machine. but getting the error.
Please let me know if there is any way to do this.
A#pk} for i in Bl1 Brl1
>> do
>> echo $i
>> ssh $i sudo chmod 755 /etc/services
>> done
Bl1
Password:
bash: sudo: command not found
... (2 Replies)
Discussion started by: sdosanjh
2 Replies
5. Shell Programming and Scripting
Have a sudo statement inside of a here document. It prompts me for a password, but doesnt wait for me to enter my password. Is there a way I can use the command without sudo or anyway that I can enter the password correctly?
Eg :
while read remotehost
do
ssh -t $2@$remotehost <<REMOTE... (13 Replies)
Discussion started by: mnanavati
13 Replies
6. Red Hat
This is the first time for using sudo for me.
# visudo
## Allows people in group admin to run all commands
%admin ALL=(ALL) ALL
# groupadd admin
# useradd temp
# usermod -a -G admin temp
# id temp
uid=506(temp) gid=506(temp) groups=506(temp),507(admin)
#
#sudo... (5 Replies)
Discussion started by: getrue
5 Replies
7. Shell Programming and Scripting
Hi All, I need your expertise to solve my problem, my account has permission to make sudo and su but when I try to switch user in a shell, it does not work with following message:
"Sorry, user jmbeltra is not allowed to execute '/usr/bin/su -c echo HELLO THERE - oracle' as root on dbbr1k01"
I... (4 Replies)
Discussion started by: Axtel
4 Replies
8. Shell Programming and Scripting
My git user has permission in sudoers to run a wrapper script to move files into my webroot.
Everything is working fine except for the chown line. After the script has run, the files ar still root:root instead of apache:apache.
Scratching my head...:confused:
#!/bin/sh
echo
echo "****... (4 Replies)
Discussion started by: dheian
4 Replies
9. Solaris
Hi All, im a bit new to Solaris 10 iv been working on Redhat and cant seem to get the sudo working on Solaris 10:D
Iv installed the below packages via pkgadd command:
gcc-4.7.2-sol10-x86-local
libiconv-1.14-sol10-x86-local
libintl-3.4.0-sol10-x86-local
sudo-1.8.13-sol10-x86-local
... (1 Reply)
Discussion started by: SolarisRSA
1 Replies
10. Solaris
Hi,
I have configured ldap manually on solaris 10/11 machine with below entries:
# ldapclient list |grep sudo
NS_LDAP_SERVICE_SEARCH_DESC= sudoers:ou=SUDOers,dc=exm,dc=ple,dc=com
# cat /etc/nsswitch.conf |grep -i sudo
sudoers: files ldap
#
But groups available in LDAP server... (8 Replies)
Discussion started by: Sridaran
8 Replies
LEARN ABOUT OSX
repair_packages
repair_packages(8) BSD System Manager's Manual repair_packages(8)
NAME
repair_packages -- verify or repair filesystem permissions and flags for packages.
SYNOPSIS
repair_packages [arguments]
DESCRIPTION
repair_packages is used by Disk Utility to verify or repair permissions on installed packages.
ARGUMENTS
--volume Perform all operations on the specified volume or home directory. The root volume '/' will be used if unspecified.
--list-standard-pkgs
Output the list of package-id strings corresponding to receipts in the installer's receipt database that will be verified or
repaired by the --standard-pkgs flag.
--verify Verify the specified package(s).
--repair Repair the specified package(s).
--pkg package-id
Add the specified package to the list of packages to verify or repair.
--standard-pkgs
Add the standard packages to the list of packages to verify or repair. Use --list-standard-pkgs to view this list.
--output-format #
Use a special output format selected by #. Different output formats may be optimized for human or machine readability. The
default output-format is '0', and is a verbose, human-readable format.
NOTES
repair_packages only runs on 10.6 or later systems. To verify or repair permissions on earlier systems, reboot with a Tiger or Leopard system
disk and verify or repair permissions with the repair_packages version on that disk.
SEE ALSO
pkgutil(1)
http://lists.apple.com/archives/installer-dev
BUGS
repair_packages does not verify file contents or restore missing files; It can only verify or repair filesystem permissions.
Mac OS June 2, 2019 Mac OS