UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX 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
  #1  
Old March 19th, 2004, 04:53 AM
alexmasters alexmasters is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 304 alexmasters User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I cant sus out permissions!!

I am building a web site and i have folders that are created by my php scripts, but the directories these folders are made in won't allow the files to be created, this is a CHMOD permission issue i know, but im using dreamweaver and I need to know how to set my scripts or ME to be the owner of the files,

at the moment if i set the destination directory to CHMOD 777 i can create folders, but these folder have a different owner ID than me so then i can't delete them or even change the CHMOD permissions of them

can anyone shed some light onto this problem

Reply With Quote
  #2  
Old March 19th, 2004, 02:39 PM
dba_chic dba_chic is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: honolulu hawaii
Posts: 6 dba_chic User rank is Private First Class (20 - 50 Reputation Level)dba_chic User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
try this syntax
chown ownername filename

you may also have to change the groups ownership
chgrp group filename.

im just offering ideas - let me know if it works for ya...

Reply With Quote
  #3  
Old March 20th, 2004, 05:01 AM
alexmasters alexmasters is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 304 alexmasters User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Hi cheers, but i don't understand how to implement it:

I tried something like this:
($root = destination folder)

PHP Code:
 chown alex ($root); 


also, if i set my owner to be 'alex', then how to i set 'alex' as the owner of all my other directories that already exist, can i do it through dreamweaver?

i don't know how to set the owner in dreamweaver either you see.

cheers,

Alex.

Reply With Quote
  #4  
Old May 27th, 2004, 12:35 AM
Blob Blob is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 12 Blob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Chmod

I was just browsing this forum for solutions to get access to a folder cause I had by a mistake given chmod 644 to a folder and didn't know how to retrieve my permission to that folder. But I tried the chmod 777 foldername command and it gave me instant access to the folder I was trying to access. However, when I tried to rm mkdir it wouldn't remove my folder from the directory. Why is that?

- Cheers

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > I cant sus out 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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





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