Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
unable to chmod
View previous topic :: View next topic  
Author Message
alouestn1
Junior Member


Joined: 26 Nov 2011
Posts: 2
Location: France

PostPosted: Sat Nov 26, 2011 12:31 am    Post subject: unable to chmod Reply with quote

Hello I cant't change permissions for files or folders with the shell as root.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Nov 26, 2011 9:46 am    Post subject: Reply with quote

What's the command you are using?
If you want to change permissions recursively use '-R' e.g.
Code:
chmod -R 755 /path/to/dir

look also at
http://sms.it-ccs.com/wiki/#LinkTarget_1653

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
alouestn1
Junior Member


Joined: 26 Nov 2011
Posts: 2
Location: France

PostPosted: Sat Nov 26, 2011 10:46 am    Post subject: Reply with quote

Code:
root@sms:~# cd /var/www/htdocs/pligg
root@sms:/var/www/htdocs/pligg# chmod 777 languages/
root@sms:/var/www/htdocs/pligg#


after I see with mucommander (file manager) that the permissions of the languages folder is 700 !
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Nov 26, 2011 11:01 am    Post subject: Reply with quote

Doing
Code:
ls -l /var/www/htdocs/pligg

you should see languages folder with permissions
drwxrwxrwx and should be in green color, (777)

If you want to change permissions to files and folders inside languages folder too, you need to pass '-R' in your command, like

Code:
chmod -R 777 /var/www/htdocs/pligg/languages


try it and let me know.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional