LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2015, 09:32 AM   #1
linux_princess
LQ Newbie
 
Registered: Oct 2015
Posts: 10

Rep: Reputation: Disabled
file attribute questions


Hi There,

I was wondering can I change the permissions of a file to read ownership uuid:uuidd to root:root?

Will that cause problems? I keep seeing a file /usr/sbin/uuiidd with 755 permissions and uuidd:uuidd ownership. All other files are root:root.
 
Old 10-08-2015, 09:36 AM   #2
linux_princess
LQ Newbie
 
Registered: Oct 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Let me clarify. I want to know if the process /usr/sbin/uuidd will break if I change the ownership to root. Currently it is owned by uuidd:uuidd. But I want root to own it. But before I make changes I want to make sure it won't cause problems on my system.
 
Old 10-08-2015, 10:15 AM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,809

Rep: Reputation: 3069Reputation: 3069Reputation: 3069Reputation: 3069Reputation: 3069Reputation: 3069Reputation: 3069Reputation: 3069Reputation: 3069Reputation: 3069Reputation: 3069
Why do you want root to own the command? If it is just for uniformity in the directory it would not seem like a good reason. I can ell you on my system the command is owned by root.

Another thought, is this your personal computer? If a work / school or otherwise shared computer, I would consult with the administrator to see why they may have placed that setting on the command.

If your own machine, do it and then test and see if it makes a difference
 
Old 10-08-2015, 09:11 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,831

Rep: Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559
Interesting - I don't seem to have that on my Centos 6.7...

I agree with grail - why do you want to change the ownerships ?
 
Old 10-08-2015, 09:38 PM   #5
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,518

Rep: Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070
If the file is set-uid (-rwsr-xr-x), do not change the UID. If the file is set-gid (-rwxr-sr-x), do not change the GID. Otherwise, changing those would affect only the permission for altering that file.
 
Old 10-09-2015, 01:56 AM   #6
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by chrism01 View Post
Interesting - I don't seem to have that on my Centos 6.7...
Neither do I, on Debian Jessie.
 
Old 10-09-2015, 08:22 AM   #7
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,518

Rep: Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070
Quote:
Originally Posted by chrism01 View Post
Interesting - I don't seem to have that on my Centos 6.7...

I agree with grail - why do you want to change the ownerships ?
So, you don't have the uuidd package installed (and probably don't need it)
Code:
uuidd-2.17.2-12.18.el6.x86_64 : Helper daemon to guarantee uniqueness of time-based UUIDs
Repo        : base
Matched from:
Filename    : /usr/sbin/uuidd


Available Packages
Name        : uuidd
Arch        : x86_64
Version     : 2.17.2
Release     : 12.18.el6
Size        : 70 k
Repo        : base
Summary     : Helper daemon to guarantee uniqueness of time-based UUIDs
URL         : ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng
License     : GPLv2
Description : The uuidd package contains a userspace daemon (uuidd) which guarantees
            : uniqueness of time-based UUID generation even at very high rates on
            : SMP systems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I modify 1 of my ldap attribute if I have 2 same attribute under 1 entry? chinho Programming 1 01-31-2011 04:37 AM
update problem "Attribute error object has no attribute 'rsplit' ruse Linux - Newbie 0 08-28-2009 02:46 AM
straightforward file attribute question Geminias Linux - Newbie 3 12-05-2007 10:01 PM
file attribute question swmok Debian 2 05-20-2004 01:16 AM
VFAT file attribute SloppyO Linux - General 2 09-11-2001 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration