Permissions...

Place to discuss Fedora and/or Red Hat

Permissions...

Postby X11 » Sun Mar 06, 2005 6:20 am

Code: Select all
drwxrwxr--    4 root crypto  4096 Mar  6 23:01 crypto

[x11@kintaro ~]$ sudo ls -l /crypto/
total 24
drwx------  2 root root 16384 Mar  6 22:55 lost+found
drwxrwxr-x  2 x11  x11   4096 Mar  6 23:01 x11

[x11@kintaro ~]$ cd /crypto/x11
bash: cd: /crypto/x11: Permission denied


What must I do to get permission to use that like my homedirectory
X11
guru
guru
 
Posts: 674
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia

Postby Void Main » Sun Mar 06, 2005 8:31 am

# chmod o+x /crypto
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby ZiaTioN » Mon Mar 07, 2005 12:20 pm

chown x11 crypto
or
chmod 0777 crypto

Either of those will allow you to have full permissions to the crypto directory as user x11 but if you do not want this and only want to be able to "get" to your x11 dir inside crypto then Void's solution is all you need to make that directory traversable.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Void Main » Mon Mar 07, 2005 3:38 pm

If he wants /crypto to be like /home then he would not want it 777 and he wouldn't want x11 to be the owner. The only reason I say that is because I assume he wants to put more users under that directory. His x11 user does not have execute permission on the /crypto directory which is why he couldn't change into it (and thus into his own subdirectory under it).
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby ZiaTioN » Mon Mar 07, 2005 7:44 pm

I thought he was interested in making crypto like his home directory (/home/x11) and not his actual "home" (/home) directory.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Void Main » Mon Mar 07, 2005 7:55 pm

In his original message he got an error trying to "cd" into "/crypto/x11" and it's because he doesn't have execute permissions /crypto. Too bad he doesn't actually read the response to his post so he can clear up what he is really after. :)
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby X11 » Tue Mar 08, 2005 8:31 am

Thanks voidmain, as usual.

It would be to bad if you decided to make this forum by subscription, to bad for my pocket, because id pay.
X11
guru
guru
 
Posts: 674
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia

Postby X11 » Tue Mar 08, 2005 8:34 am

Oh and for the others, I don't want my homedirectory to be crypto, A) It would probably have some major proformance issues, especially regarding VMware. B) I would have to log in as root to mount the cryptoloop to be able to log in.

Basically I just want a place to stick special things (like my GPG revocation certificate), and plans to blow up Bill Gates' House.

Forget you read that last part.
X11
guru
guru
 
Posts: 674
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 0 guests

cron