1

I messed up one of my partitions with chmod and setfacl commands . I want to undo all these commands .

I need normal ntfs volume default permissions . I'm running dual boot win10-lubuntu .

Chmod no longer works . Probably cause of chmod g+s .

    root@nec-PC:/mnt# chmod 755 -c 01CFD131F13B1EE0
    mode of '01CFD131F13B1EE0' changed from 0777 (rwxrwxrwx) to 0755 (rwxr-xr-x)
    root@nec-PC:/mnt# chmod 755 -c 01CFD131F13B1EE0
    mode of '01CFD131F13B1EE0' changed from 0777 (rwxrwxrwx) to 0755 (rwxr-xr-x)
    root@nec-PC:/mnt# chmod 755 -c 01CFD131F13B1EE0
    mode of '01CFD131F13B1EE0' changed from 0777 (rwxrwxrwx) to 0755 (rwxr-xr-x)
    root@nec-PC:/mnt# 

and on , and on but doesn't change anything .

edit: target partition has no OS installed .

History:

    276  chmod 755 01CFD131F13B1EE8
    277  chmod 755 01CFD131F13B1EE0
    278  ls
    279  cd 01CFD131F13B1EE0
    280  ls
    281  cd New folder
    282  ls
    283  cd ..
    284  cd mnt
    285  ls
    286  chmod 755 -R 01CFD131F13B1EE0
    287  man ls
    288  ls
    289  chmod g+s 01CFD131F13B1EE0
    290  setfacl
    291  setfacl -d -m g::rwx
    292  setfacl -d -m g::rwx 01CFD131F13B1EE0
    293  setfacl -d -m o::rx 01CFD131F13B1EE0
    294  getfacl 01CFD131F13B1EE0
    295  ls
    296  sudo setfacl -d -m o::rx 01CFD131F13B1EE0
    297  getfacl 01CFD131F13B1EE0
    298  chmod g+s 01CFD131F13B1EE0
    299  setfacl -d -m g::rwx 01CFD131F13B1EE0
    300  setfacl -d -m o::rx 01CFD131F13B1EE0
    301  getfacl 01CFD131F13B1EE0

This is pretty much it . As you may have noticed i'm not very good at these stuff .

anonim
  • 408

1 Answers1

0

I couldn't find any apps on linux to solve it . I just used permissions time machine lite program on windows and that fixed all errors .

http://www.amydprojects.com/2013/10/permissions-time-machine-v14.html

anonim
  • 408