Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 2nd, 2003, 04:41 PM
royrubin royrubin is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 56 royrubin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 26 sec
Reputation Power: 6
Linux newbie question - permissions

Hello,

I have an image that is owned by nobody

-rw------- 1 nobody bin 2355 Mar 25 11:32 catalog/images/49a.jpg

How can I chage the ownership so that I can copy it to another directory.

Any help is appreciated.

-roy

Reply With Quote
  #2  
Old July 2nd, 2003, 06:35 PM
MRK's Avatar
MRK MRK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 191 MRK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 36 sec
Reputation Power: 8
If you have root:

chown root img.jpg
chgrp root img.jpg
chmod 755 img.jpg

You should be able to do the same if you are a user.

-Mr.K

Reply With Quote
  #3  
Old July 2nd, 2003, 07:30 PM
royrubin royrubin is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 56 royrubin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 26 sec
Reputation Power: 6
what if I don't have root - I am on a shared hosting account with SSH??

Reply With Quote
  #4  
Old July 3rd, 2003, 01:14 AM
MRK's Avatar
MRK MRK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 191 MRK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 36 sec
Reputation Power: 8
Then do the above, only with your username.

chown username img.jpg
chgrp username img.jpg
chmod 755 img.jpg

You should be able to do that. If not, you might call your isp and tell them, and they should be able to change it.

-Mr.K

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Linux newbie question - permissions


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway