How do I change directory permissions ?
I am using SuSE 9.2 pro... I am trying to figure out where/how the directory permissions are changed... I am sure this is a fairly simple task... :rolleyes:
|
From a terminal, take a look at man chmod.
If you are running KDE, you can right-click a file or directory then Properties, then Permissions. For the default permissions for creating files / directories, investigate umask , which is usually set in your /home/.bash_profile |
Use the chmod command.
chmod g+x <dirname> will allow a group member to enter a directory. To change the owner/group attributes use the chown/chgrp commands. chown cwolf78 <dirname> This line changes both the owner and group chown cwolf78:users <dirname> To change the ownership of a directory, you will need to su to root first. Also, you hadn't mentioned what type of filesystem the directory is in. If it is VFAT, then these commands won't work because the filesystems themselves don't hold the necessary attributes. You will need to use the 'uid=' and 'gid=' options in the mount command. I would recommend that you read through the fileutils info pages. Try entering: info:coreutils/top in the konqueror web browser for an html based info manual. This manual will explain the file permissions and also describe how to use many useful commands |
Thanks, that did the trick! I will be reading up on the groups and permissions ... seems sort of complicated.
|
All times are GMT -5. The time now is 05:03 AM. |