|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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... |
|
#3
|
|||
|
|||
|
Hi cheers, but i don't understand how to implement it:
I tried something like this: ($root = destination folder) PHP Code:
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. |
|
#4
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > I cant sus out permissions!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|