|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
user permission...
Hi!
I think that is something wrong with the user (mine) permission. For example id I run as root in /home/ajtim folser ls -l I got (there are more): drwxr-xr-x 2 ajtim wheel 512 Sep 25 18:06 .xine -rw-r--r-- 1 ajtim wheel 15 Aug 11 16:21 .xinitrc drwx------ 2 ajtim ajtim 512 Jun 18 15:45 Desktop drwx------ 11 ajtim ajtim 1024 Sep 25 09:38 Documents as user ajtim ls -l and I got: drwx------ 2 ajtim 1002 512 Jun 18 15:45 Desktop drwx------ 11 ajtim 1002 1024 Sep 25 09:38 Documents and as user ls -la: drwxr-xr-x 2 ajtim 0 512 Sep 25 18:06 .xine -rw-r--r-- 1 ajtim 0 15 Aug 11 16:21 .xinitrc drwx------ 2 ajtim 1002 512 Jun 18 15:45 Desktop drwx------ 11 ajtim 1002 1024 Sep 25 09:38 Documents User is member also of wheel and operator groups. How should I ecit user account, please? I check /etc/group, passw and master.passwd and looks okay. Itry to change primary group with pw usermode -g wheel ajtim and I got: pw: user name or id required Thanks a lot... Mitja |
|
|||
I honestly don't see any problem?
|
|
|||
I thought that for examle ls -l should shows the same for the user and root.
I am confused because miro player stopped working for user after one year and before that I run a script "lockdown" ( I deinstalled and put the system back as was before - I hope). |
|
|||
(root)
-rw------- 1 root wheel 556 Sep 28 15:32 /etc/group and ls -l (user) -rw------- 1 root 0 556 Sep 28 15:32 /etc/group One another problem. I use midnight commander and checked "chmod" of /ome/ajtim/.chrc permission is 100644 owner ajtim (user as I logged in) and group name is 0. ajtim is a member of the wheel group. Now I tried to use chown and there are user name - ajtim but in group name is Unknown Group. Chown advanced command shown me group 0 but there are no other options. This works before because I use sometimes. |
|
|||
Quote:
BTW: miro payer doesn;t works as user still. |
|
|||
Quote:
ls -la /etc/group -rw-r--r-- 1 root wheel 556 Sep 28 15:32 /etc/group user: ls -la /etc/group -rw-r--r-- 1 root wheel 556 Sep 28 15:32 /etc/group |
|
|||
My FBSD machines also do show dot-files for root without the -a flag btw...
|
|
||||
-A is set automatically for the root user, from ls(1)
Code:
-A Include directory entries whose names begin with a dot (`.') except for . and ... Automatically set for the super-user unless -I is specified. Code:
-I Prevent -A from being automatically set for the super-user.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
CS is right, The -I argument is unsupported on OpenBSD.. the behaviour of -A is the same though.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Permission problems after restore | Crotalus | FreeBSD Installation and Upgrading | 3 | 5th February 2009 02:17 PM |
FFS permission issue | marc | OpenBSD General | 2 | 2nd February 2009 07:31 PM |
MySQL permission oddity | Mantazz | FreeBSD Ports and Packages | 4 | 13th December 2008 09:06 PM |
Permission denied (publickey). Help pls | rex | FreeBSD General | 13 | 14th October 2008 08:54 PM |
Permission denied | delboy | FreeBSD Ports and Packages | 11 | 24th May 2008 09:26 PM |