Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: User Folder permissions.  (Read 6323 times)

tickmike

  • Kitizen
  • ****
  • Posts: 3640
  • Yes Another Penguin !. :)
User Folder permissions.
« on: March 22, 2008, 11:55:20 AM »

Having a few lots problems when I moved ' /home' folders back on my new os install, all the folders inside the users folders are 'Root'
I could change each one back from the root user but I will still be doing them until next week !.
On the folder tree /home is user=root   group=root,
and the /home/user  have the user= user   group=user,    which are both correct !.
Looking on another computer the only 'root' folder in the users folder was the short cut to /tmp.

Using 'chown' in a terminal I cannot see how on mass I can change all the users files back to the users permissions than root.

Any help please.

Ps any advice about the 'advance permissions' tab, "access permissions".... when you right click on a folder-->permissions-->advance permissions.

EDIT. I have changed the users folders to user= user   group=user,     IT's all the hidden . files have the wrong permissions.
« Last Edit: March 23, 2008, 01:34:42 AM by tickmike »
Logged
I have a set of 6 fixed IP's From  Eclipse  isp.BT ADSL2(G992.3) line>HG612 as a Modem, Bridge, WAN Not Bound to LAN1 or 2 + Also have FTTP (G.984) No One isp Fixed IP >Dual WAN pfSense (Hardware Firewall and routing).> Two WAN's, Ethernet LAN, DMZ LAN, Zyxel GS1100-24 Switch.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43472
  • Penguins CAN fly
    • DSLstats
Re: User Folder permissions.
« Reply #1 on: March 22, 2008, 01:06:25 PM »

In a terminal, type the following as root:

chown -R username:usergroup /home/username

Obviously replace 'username' and 'usergroup' with the actual names, and run the command separately for each user.

For an explanation of set UID and set GID see http://en.wikipedia.org/wiki/Setuid . The sticky bit is described in http://en.wikipedia.org/wiki/Sticky_bit .
Logged
  Eric

tickmike

  • Kitizen
  • ****
  • Posts: 3640
  • Yes Another Penguin !. :)
Re: User Folder permissions.
« Reply #2 on: March 22, 2008, 01:37:40 PM »

Magic  :)
Thanks Eric.
You put that so it made sense.   ;D
Logged
I have a set of 6 fixed IP's From  Eclipse  isp.BT ADSL2(G992.3) line>HG612 as a Modem, Bridge, WAN Not Bound to LAN1 or 2 + Also have FTTP (G.984) No One isp Fixed IP >Dual WAN pfSense (Hardware Firewall and routing).> Two WAN's, Ethernet LAN, DMZ LAN, Zyxel GS1100-24 Switch.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43472
  • Penguins CAN fly
    • DSLstats
Re: User Folder permissions.
« Reply #3 on: March 22, 2008, 01:46:18 PM »

:)
Logged
  Eric

UncleUB

  • Helpful
  • Senior Kitizen
  • *
  • Posts: 29543
Re: User Folder permissions.
« Reply #4 on: March 22, 2008, 02:01:08 PM »

Even though I don't use Linux I follow these post with great interest.The conclusion I have come to is Eric is brilliant at answering peoples questions and sosting problems out.Perhaps You should be known as Emperor Penguin instead of Roseway.
Well done. :)
PS,If I ever use Linux you'll never get rid of me. :)
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33881
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: User Folder permissions.
« Reply #5 on: March 22, 2008, 02:44:09 PM »

>> Eric is brilliant at answering peoples questions

I wont disagree with you there UB  :)
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

Floydoid

  • Addicted Kitizen
  • *****
  • Posts: 9640
  • Prog Rock Fan
Re: User Folder permissions.
« Reply #6 on: March 22, 2008, 02:46:22 PM »

Eric may be the whiz with Linux, but he's rubbish at windows.  :P
Logged
"We're going to need a bigger swear jar."

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43472
  • Penguins CAN fly
    • DSLstats
Re: User Folder permissions.
« Reply #7 on: March 22, 2008, 03:50:45 PM »

Thank you for bringing everyone down to earth Floydy :lol:
Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33881
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: User Folder permissions.
« Reply #8 on: March 22, 2008, 04:28:11 PM »

Eric may be the whiz with Linux, but he's rubbish at windows.  :P


lol - and truth be told eric probably doesnt care - he loves the penguin too much :D
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

Floydoid

  • Addicted Kitizen
  • *****
  • Posts: 9640
  • Prog Rock Fan
Re: User Folder permissions.
« Reply #9 on: March 22, 2008, 04:56:41 PM »

Yeah I know, I was just joshing. :)
Logged
"We're going to need a bigger swear jar."

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43472
  • Penguins CAN fly
    • DSLstats
Re: User Folder permissions.
« Reply #10 on: March 22, 2008, 11:04:34 PM »

>> lol - and truth be told eric probably doesnt care - he loves the penguin too much :D

You're right :)

[attachment deleted by admin]
Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33881
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: User Folder permissions.
« Reply #11 on: March 23, 2008, 12:10:38 AM »

 :lol:
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker