Score:0

Not able to to delete file with drwx--S--- permission

cn flag

We are not able to delete file because of special permission drwx--S---. I have tried command chmod g -s filenameion but we cant use root user. SO is there anyway to delete

Score:1
cn flag

It is not the S (setgid) attribute that is preventing you from deleting the file or directory.

is there anyway to delete

It depends.

You are dealing with a directory (folder). One reason why you cannot delete the directory may be because you use the rm <name>. That does not work for a directory. ⟶ Use rmdir <name> (for this the directory must be empty), or rm -r <name> (can be done on a directory that is not yet empty).

Another reason why you cannot delete the directory might be that you are not the owner. ⟶ Sorry, you will need to ask someone with permissions to remove the directory.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.