Fedora - to create a test file? / Samba - n00b(ish)


mkdir bla
chmod 777 bla

All looking good

If I swap to a different user I can create a file


#touch test.txt ?

What other test are good?  I suppose I can ls -la to see file perms.

Anything else?

Oh Im not such a Fedoar n00b now :-)

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Yes you can I user have enouth permission.

Linux commands:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
So are you just trying to play with permissions?

Looking for command to switch user?

su - userID

Yes, touch is command to create file or change its timestamps.

# su -<username>   [To switch user]

# exit  [to quit the session from that user]

after giving chmod 777 you will be having enough permission.

# touch test.txt [It will create a empty file, If file is already exist it will modify the time stamp of file]

Could you please explain exactly what do you want to achieve so that we can help you in that manner.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Now you can try adding sticky bit to the folder.

See what happens

chmod o+t foldername
fcekAuthor Commented:

chmod o+t foldername
What does a  sticky bit do ?
Yes it does.  So only the owner of the file can remove it.  Otherwise anyone with write permissions on the folder where the file resides can remove it.
fcekAuthor Commented:

sticky bit is cool :-)

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.