This is what I get;
- Code: Select all
[theresalouis@localhost ~]$ su - chown theresalouis:theresalouis /extra
su: user chown does not exist
[theresalouis@localhost ~]$
Regards,
madsaint
[theresalouis@localhost ~]$ su - chown theresalouis:theresalouis /extra
su: user chown does not exist
[theresalouis@localhost ~]$
su -
Password [Put in the root password here]
chown theresalouis:theresalouis /extra
[theresalouis@localhost ~]$ su-
bash: su-: command not found
[theresalouis@localhost ~]$ su-theresalouis
bash: su-theresalouis: command not found
[theresalouis@localhost ~]$ su - theresalouis
Password:
[theresalouis@localhost ~]$ chown theresalouis :theresalouis /extra
chown: cannot access ‘:theresalouis’: No such file or directory
chown: changing ownership of ‘/extra’: Operation not permitted
[theresalouis@localhost ~]$ chown theresalouis : theresalouis /extra
chown: cannot access ‘:’: No such file or directory
chown: cannot access ‘theresalouis’: No such file or directory
chown: changing ownership of ‘/extra’: Operation not permitted
[theresalouis@localhost ~]$
su -c "chown madsaint:madsaint /extra"
theresalouis@localhost ~]$ su -c "chown theresalouis:theresalouis /extra"
Password:
[theresalouis@localhost ~]$
ls -al /extra
mount|grep extra
[theresalouis@localhost ~]$ su -c "chown theresalouis:theresalouis /extra"
Password:
[theresalouis@localhost ~]$ ls -al /extra
total 24
drwxr-xr-x 3 theresalouis theresalouis 4096 Mar 11 23:51 ./
drwxr-xr-x 21 root root 4096 Mar 14 13:27 ../
drwx------ 2 root root 16384 Mar 11 23:51 lost+found/
[theresalouis@localhost ~]$ mount|grep extra
/dev/sdb5 on /extra type ext4 (rw,nosuid,nodev,noexec,relatime,data=ordered,user)
[theresalouis@localhost ~]$
madsaint wrote:Hi doktor5000,
The use of /extra and /extra1 was an earlier suggestion of benmc. Yes I would like to consolidate everything into one large filesystem with access between partitions, instead of several different partitions with different permissions. I am the only user so separate user access is moot.
Users browsing this forum: No registered users and 1 guest