Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User-group problem

Status
Not open for further replies.

cyberwolf14

Programmer
Aug 27, 2001
65
BE
Hello

I have a site on a free server and I have the following problem:

[tt]main dir => User: lowie
=> Group: lowie
+dir1 => User: lowie
=> Group: lowie
+dir2 => User: 48
=> Group: 48[/tt]

The main dir and a dir inside it (dir1) user and group is set to "lowie" (wich is good)
but a dir in dir1 user and group is set to 48 (wich is not good)
I an't write any files in it with php and I can't delete any files in it anymore (Warning: SAFE MODE Restriction in effect. The script whose uid/gid is 877/877 is not allowed to access dir1/dir2/file1.txt owned by uid/gid 48/48)

How can I change the folder group and user??
Can I do it with htaccess??
 
You will need to log into the system as root and do a chown on the directories. If you cannot get to this server, then call the service provider and let them know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top