General :: CentOS Chmod Overiding Set-group-ID?

Jun 13, 2011

I'm used to setting up SGID on a directory

chmod -R g+s example and then
chmdo -R 750 example

And have the directory and all sub-directories preserve the set-group-ID. On CentOS SGID gets overridden by the second command.The OS is CentOS release 5.6 (Final)In theory, and like it says on this page, "if commands like chmod routinely cleared these bits on directories, the mechanisms would be less convenient..." and it's exactly whats happening. chmod -R 750 is effectivelly removing the SGID.How can I make g+s permanent?

View 1 Replies


ADVERTISEMENT

General :: Accidental Installation Of Ubuntu 11.04 Overiding NTFS On External Hard Disk?

Aug 10, 2011

I really need some help here. I was installing Ubuntu 11.04 supposedly on a Desktop but I had my external hard disk connected via USB. This external hard disk had two NTFS partitions with lots of important personal and my works.

I accidentally installed Ubuntu upon it and I believe I had created new Linux partition for the Ubuntu installation. Is there any way to undo everything?

View 6 Replies View Related

General :: Accidentally Did A 'chmod +x Foo' When Meant To Do A 'chmod A+r Foo'?

Jul 17, 2010

I accidentally did a 'chmod +x foo' when i meant to do a 'chmod a+r foo'.

-rw-r--r-- 1 casper trad 53 Jul 17 22:41 filegore
-rw-r--r-- 1 casper trad 13 Jul 17 22:41 filelemme
-rw-r--r-- 1 casper trad 24 Jul 17 22:41 nix

[code]....

View 1 Replies View Related

General :: Group Permissions For Subfolders Only (CentOS)

Apr 19, 2010

Is there a way to allow other members of my group to access subfolders under my home directory, but not my home directory itself?I'm using CentOS 5.4

View 3 Replies View Related

CentOS 5 :: Allow A User To Chmod Via FTP?

Sep 29, 2010

I've got a Centos server setup as a web server and have no problems doing anything from the command line. Some users need to connect via FTP, and need to be able to chmod files and directories as they please. I've been able to allow the users to connect to the web directory via FTP, but can't work out how to allow them the ability to chmod anything within the folder. The files were originally uploaded by root user, however I want any user connecting via FTP to be able to edit permissions as they please.

View 1 Replies View Related

General :: Secondary Group Users Need To Change File Permissions Of Primary Group Files?

Oct 19, 2009

i want secondary users can able to change the files permissions of primary group?user MAC is having www as a primary and httpd as secondary group. But he want to change the file permissions (chmod) httpd group files. Is it possible or not? I think its not possible. If it`s possible then let me know how?

View 3 Replies View Related

General :: Group Member Not Able To Write To Group's File?

Feb 8, 2011

I have a group (GROUP) with a number of users. I recently added a new user (NEW). NEW is able to read but not write group files, whereas all the other users in the group can read and write to the group files. The permissions for the group files indicate that all members of group should have write permission -rwxrwxr-x

/etc/group indicates that NEW is a member of GROUP
...
GROUP:x:501:GROUP,OLD,OLD2,OLD3,OLD4,....,NEW

[code]....

Don't know if it matters, but both OLD and NEW write to the GROUP files over an internet connection. why NEW can't write to GROUP files? Is there a maximum number of members in a group that I might have exceeded?

View 2 Replies View Related

CentOS 5 :: /var/tmp/rpm-tmp.TdoItX: Line 7: Chmod: Command Not Found

Jul 7, 2011

I've just tried to create my first own live-cd using the instructions here: [URL] With the minimal kickstart I get a weird problem though:

...
Installing: libselinux ##################### [ 81/114]
Installing: psmisc ##################### [ 82/114]
Installing: MAKEDEV ##################### [ 83/114]

[code]....

Notice that "chmod" and "touch" are part of the package coreutils which gets installed only after these commands are used. I'm seeing a similar problem with selinux being referenced before the libselinux package is installed. I can boot the resulting image but after the kernel boots it panics because it cannot find /dev/root which might or might not have something to do with the errors above.

View 2 Replies View Related

General :: Security Group Can Be A Member Of Another Group?

Aug 22, 2010

I need to create a group that has the same permissions as the users group. Can I have the new group be a member of the "users" group to inherit its permissions?

View 4 Replies View Related

CentOS 5 :: Centos-approved Way To Handle Group Environment Configuration?

Mar 10, 2010

What's the centos-approved way to handle group environment configuration? Let's say there are users in, oh, 4 different groups. Let's use the usual suspects:

accounting
warehouse
admin
netadmin

and I want to set up environment variables and maybe some pathing that are specific to a given group. So that when 'joeblow', who is a member of group 'warehouse', logs in, the pathing and environment variables (and whatever else) that is needed for users in the 'warehouse' group is set up and configured.

What I was initially looking for was an /etc/groups.d, and in /etc/groups.d is

/etc/groups.d
accounting.sh
warehouse.sh
admin.sh
netadmin.sh

As part of the login process, the group memberships for the login username would be examined, and for each hit the respective /etc/groups.d/ script would be run. I'm not seeing anything like that, so I'm assuming centos uses some other mechanism, but I'm obviously not using the proper keyword mojo. Can someone point me to where this mechanism is described?

View 4 Replies View Related

CentOS 5 :: What Is The Use Of /etc/passwd- & /etc/group - Backups

Sep 26, 2010

A junior question: What is the use of /etc/passwd- & /etc/group-? Backups? I delete them, and they will come out again.

View 2 Replies View Related

General :: Parameters To Be Used With Chmod?

Jan 12, 2011

How to use CHMOD in linux? When I try to delete a file/folder, permission is denied. What exact params must I give for chmod here? This is what I need to do. Execute a command ./build.mips , but I get permission denied error.

kirti@sgf:/disk/go$./build.mips
-bash: ./build.mips: Permission denied

View 3 Replies View Related

General :: Get Permission By Chmod?

Apr 5, 2011

how to get permission by chmod

View 8 Replies View Related

CentOS 5 :: Centralized Logins And Group Management?

Jul 23, 2009

I have to set up a box which can manage all the logins in our company and has the feature to manage every possible permission with as much comfort as possible. We are using Linux and AIX therefore my Boss is willing to switch from our Windows DC to a Linux DC. And here lies the problem, I don't really know what is needed to set the Box up to manage the Unix, Samba and LDAP accounts with one tool maybe?

I would like to know which Software exactly is needed and how to manage to get the thing to work together with a security aspect. I configured a Samba DC with LDAP, Kerberos and TLS but it looks like I overdid it because Kerberos is not able to manage the things we need in a manner that the other Admins in my Company would get things done in a short time.

Therefore I would like to get listed all the Software needed and maybe some How Tos how to get thing working, because I am losing my nerves on this matter.
In the last 3 weeks I have set up several test boxes but every time something doesn't work. My biggest Problem is to get Samba and LDAP to work together with TLS or another security scenario.

View 2 Replies View Related

CentOS 5 :: Boot - Volume Group Not Found

Oct 5, 2010

Before creating this topic I googled a lot and found lots of forum topics and blog posts with similar problem. But that did not help me to fix it. So, I decided to describe it here. I have a virtual machine with CentOS 5.5 and it was working like a charm. But then I turned it off to make a backup copy of this virtual machine and after that it has a boot problem. If I just turn it on, it shows the following error message:

Activating logical volumes Volume group "VolGroup00" not found Trying to resume from /dev/VolGroup00/LogVol01 Unable to access resume device (/dev/VolGroup00/LogVol01) ... Kernel panic ...! During the reboot I can see 3 kernels and if I select the 2nd one the virtual machine starts fine, it founds the volume group etc. (But there is also a problem - it can not connect the network adapters.) So, it is not possible to boot it with the newest kernel (2.6.18-194.17.1.el5), but it is possible with an older one (2.6.18-194.11...)

I looked into GRUB's menu.lst and it seems to be fine. I also tried #mkinitrd /boot/initrd-2.6.18-92.el5.img 2.6.18-92.el5 no luck! Yes, I can insert DVD .iso and boot from it in "linux rescue" mode.

View 18 Replies View Related

CentOS 5 :: Remove A Volume Group / Array?

Nov 16, 2010

I'm trying to do a disk upgrade on some servers. They are using LVM with DRBD on top and each LVM volume contains a Xen image. I have already created identical volumes on another volume group, copied the data and pointed DRBD to the new source (Which seems to have worked).

What I am unsure of is how to safely remove the disks. The disks are an Areca Raid 1 array and support hotswap. Can I just pull them out of the machine or is some sort of command needed to tell LVM or the kernel to disconnect from the physical array device? Is removing the raid array from the Areca management GUI first a good idea?

View 3 Replies View Related

General :: File Permissions Not Set Through Chmod?

Jan 4, 2011

I had created a file under a directory & set the permissions through chmod command but when I create another file under this directory, I get the default permissions. Is this due to umask or can I set the file permissions through chmod under a directory.

View 5 Replies View Related

CentOS 5 Networking :: Can't Join Multicast Socket Group?

Nov 3, 2009

I have a PC connected by ethernet to a Galil motion controller card.I recently installed Centos 5.The Galil software for communicating with the card is reporting that it can't join a multicast socket group.The software used to work with another version of Linux.

View 6 Replies View Related

CentOS 5 :: LDAP - Directory Server Group Rights?

Mar 24, 2010

I've installed Directory Server (LDAP). The setup has been done according to the tutorials online. Able to access the interface as well. So far so good. The issue I have is with permissions. I can assign file permissions to a user created in the Directory Server ( user not created on the local server). But the same can't be done for a group - alteast the way I currently see it. How could i assign file system rights to a group created in the directory server.

View 5 Replies View Related

CentOS 5 Server :: Allow Only Specific LDAP Group Access?

Apr 26, 2010

I've several servers (windows+linux) that authenticate to an LDAP server. There is one machine that I would like to allow only certain groups from LDAP server to have access and I am not sure where to start.

If that cannot be done, is it possible to disable LDAP root user to access these machines?

View 4 Replies View Related

CentOS 5 :: Samba - Netlogon - Script - Folder Map Only One Group

Feb 1, 2011

I have to create a script that will run only for a specific group. It is a very simple script, so to map the folder, it happens that only that group will be mapped folder. Look what I've done:

[Code]...

Corded that way, but can not be this way, the folder must be mapped to only one group, i have to do scripts for other users, groups, and a script for everyone.

View 1 Replies View Related

Ubuntu :: Create A User Group That Restricts Internet Privileges To Only Members In The Group

Jul 19, 2011

How can I create a user group that restricts Internet privileges to only members in the group, then I will assigns certain applications to join the group for access to the Internet.

For example, I want only group net to have access to the Internet. Group net is then connected to:

Code:

So far, I am using the gnome group policy manager that is standard with ubuntu but Its not working. It is possible that im misdirected and that I should use a firewall instead?

View 2 Replies View Related

Programming :: Bash - Search For 1000 Then Assign Them Group 1 And Then 1001-1999 To Group 2

May 24, 2010

I have a text file that currently has around 150 000 usernames in it. I need to somehow group them into smaller groups of 1000 and then add that value into the DB. for example user xzy group 1 (hopefully the groups will be digits incrementing)

[Code]....

how to search for 1000 then assign them group 1 and then 1001-1999 to group 2 etc.

View 3 Replies View Related

General :: Use Chmod To Change The File Permission?

Apr 24, 2011

If I am not the file' owner or root, can I use chmod to change the file permission?

Assume I have group/write access to the file, e.g. 775

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 :: CHMOD And Highlighted Directories In Terminal

Mar 16, 2010

So I gave the following permission using sudo su to some directories:
sudo a+x -R ~/<SOME FOLDER>/*
sudo a+w -R ~/<SOME FOLDER>/*

After doing this, I can access write and read all directories but my terminal shows these folders highlighted and I really dont like this. Is there any way they can look like before (with no highlights)?

View 7 Replies View Related

General :: Chmod Change Only Directories Recursively

Mar 28, 2010

Is it possible to change only directories access permissions recursively with some linux command. I need to set x (access) permissions on directories but not execute on files. [URL]

chmod - change file access permissions
-R, --recursive
change files and directories recursively

View 2 Replies View Related

General :: Chmod Make Any File Executable?

Feb 23, 2011

can chmod make any file executable?

View 4 Replies View Related

General :: Renaming File Permission Chmod?

Apr 11, 2011

that works to disallow non-owners from renaming the file, but what I wouldlike to do is disallow EVERYONE ( including the owner of the file ) fromediting, moving, or changing the filename once it is created. the only personwho should be able to make those changes is a special user.

View 13 Replies View Related

CentOS 5 Server :: Avoid Adding Users To Group Like Wheel?

Jan 7, 2011

i just want to prevent from now on from all users maybe even root from adding other users to groups like wheel for example. I also want to know how can I prevent from all users to create new groups or add users to new one.real

View 2 Replies View Related







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